org.ow2.jonas.lib.ejb21
Class MonitoringEvent
java.lang.Object
org.ow2.jonas.lib.ejb21.MonitoringEvent
- All Implemented Interfaces:
- org.ow2.util.event.api.IEvent
public class MonitoringEvent
- extends Object
- implements org.ow2.util.event.api.IEvent
implementation of the monitoring event to get statistics for the EJB2 sessions
- Author:
- Malek Chahine
Constructor Summary |
MonitoringEvent(int beanFactoryId,
String ejbName,
String filename,
String methodName,
long businessStartTime,
long businessStopTime,
long totalStartTime,
long totalStopTime)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MonitoringEvent
public MonitoringEvent(int beanFactoryId,
String ejbName,
String filename,
String methodName,
long businessStartTime,
long businessStopTime,
long totalStartTime,
long totalStopTime)
getBusinessStartTime
public long getBusinessStartTime()
getBusinessStopTime
public long getBusinessStopTime()
getTotalStartTime
public long getTotalStartTime()
getTotalStopTime
public long getTotalStopTime()
getBeanFactoryId
public long getBeanFactoryId()
getEJBName
public String getEJBName()
getFilename
public String getFilename()
getMethodName
public String getMethodName()
checkPermission
public boolean checkPermission(org.ow2.util.event.api.IEventListener eventListener)
- Check whether the event listener has permission to receive this event.
- Specified by:
checkPermission
in interface org.ow2.util.event.api.IEvent
- Parameters:
eventListener
- The event listener to check.
- Returns:
- True if the listener has the permission, false otherwise.
Copyright © 2010 OW2 Consortium. All Rights Reserved.