org.ow2.jonas.ejb2.internal.mbean
Class EJBModule
java.lang.Object
org.ow2.jonas.lib.management.javaee.ManagedObject
org.ow2.jonas.lib.management.javaee.J2EEManagedObject
org.ow2.jonas.lib.management.javaee.J2EEDeployedObject
org.ow2.jonas.lib.management.javaee.J2EEModule
org.ow2.jonas.ejb2.internal.mbean.EJBModule
public class EJBModule
- extends J2EEModule
MBean class for EJBModule management
- Author:
- Adriana Danes JSR 77 (J2EE Management Standard), S. Ali Tokmen, Malek Chahine: EJB statistics
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
cont
protected JContainer cont
EJBModule
public EJBModule(MBeanServer mBeanServer,
ObjectName objectName,
JContainer cont,
String fileName,
String containerName,
String j2eeAppName,
URL earUrl)
getEjbs
public String[] getEjbs()
addEjb
public void addEjb(String ejbObjectName)
getCurrentNumberOfEJB
public int getCurrentNumberOfEJB()
getCurrentNumberOfBMP
public int getCurrentNumberOfBMP()
getCurrentNumberOfCMP
public int getCurrentNumberOfCMP()
getCurrentNumberOfSBF
public int getCurrentNumberOfSBF()
getCurrentNumberOfSBL
public int getCurrentNumberOfSBL()
getCurrentNumberOfMDB
public int getCurrentNumberOfMDB()
getContainerName
public String getContainerName()
getFileName
public String getFileName()
getUrl
public URL getUrl()
getEarON
public String getEarON()
getEarURL
public URL getEarURL()
isInEarCase
public boolean isInEarCase()
getNumberOfCalls
public long getNumberOfCalls()
- get the total number of calls on all beans of this ejb container
- Returns:
- the total number of calls on all beans of this ejb container
getTotalProcessingTime
public long getTotalProcessingTime()
- get the total time spent in container + business execution for all beans
of this ejb container
- Returns:
- the total time spent in container + business execution for all
beans of this ejb container
getTotalBusinessProcessingTime
public long getTotalBusinessProcessingTime()
- get the total time spent in business execution for all beans of this ejb
container
- Returns:
- the total time spent in business execution for all beans of this
ejb container
getAverageProcessingTime
public long getAverageProcessingTime()
- get the average time spent in container + business execution for all
beans of this ejb container per request
- Returns:
- the average time spent in container + business execution for all
beans of this ejb container per request
getAverageBusinessProcessingTime
public long getAverageBusinessProcessingTime()
- get the average time spent in business execution for all beans of this
ejb container per request
- Returns:
- the average time spent in business execution for all beans of
this ejb container per request
getMonitoringEnabled
public boolean getMonitoringEnabled()
- Returns:
- Will EJB monitoring enabled for EJBs deployed in the future?
setMonitoringEnabled
public void setMonitoringEnabled(boolean monitoringEnabled)
- Parameters:
monitoringEnabled
- Whether EJB monitoring will enabled for EJBs deployed in the
future.
getWarningThreshold
public int getWarningThreshold()
- Returns:
- Number of milliseconds after which methods of EJBs deployed in
the future will start warning.
setWarningThreshold
public void setWarningThreshold(int warningThreshold)
- Parameters:
warningThreshold
- Number of milliseconds after which methods of EJBs deployed in
the future will start warning.
Copyright © 2010 OW2 Consortium. All Rights Reserved.