|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.mx.util.JBossNotificationBroadcasterSupport (src)
org.jboss.system.ServiceMBeanSupport (src)
org.jboss.management.j2ee.J2EEManagedObject (src)
org.jboss.management.j2ee.EJB
Root class of the JBoss JSR-77.3.10 EJB model
Field Summary | |
protected ObjectName (src) |
ejbContainerName
The ObjectName of the ejb container MBean |
static int |
ENTITY_BEAN
|
static int |
MESSAGE_DRIVEN_BEAN
|
static int |
STATEFUL_SESSION_BEAN
|
static int |
STATELESS_SESSION_BEAN
|
Fields inherited from class org.jboss.management.j2ee.J2EEManagedObject (src) |
NAME, TYPE |
Fields inherited from class org.jboss.system.ServiceMBeanSupport (src) |
server, SERVICE_CONTROLLER_SIG, serviceName |
Fields inherited from interface org.jboss.system.ServiceMBean (src) |
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED |
Constructor Summary | |
EJB(java.lang.String ejbType,
java.lang.String ejbName,
ObjectName (src) ejbModuleName,
ObjectName (src) ejbContainerName)
Create a EJB model |
Method Summary | |
static ObjectName (src) |
create(MBeanServer (src) mbeanServer,
ObjectName (src) ejbModuleName,
ObjectName (src) ejbContainerName,
int ejbType,
java.lang.String jndiName)
Create a JSR77 EJB submodel. |
static void |
destroy(MBeanServer (src) mbeanServer,
ObjectName (src) jsr77Name)
|
protected ObjectName (src) |
getContainerCacheName()
|
protected ObjectName (src) |
getContainerName()
|
protected ObjectName (src) |
getContainerPoolName()
|
protected java.util.Hashtable |
getParentKeys(ObjectName (src) pParent)
This method can be overwritten by any subclass which must return <parent-j2eeType> indicating its parents. |
abstract Stats (src) |
getstats()
Obtain the Stats from the StatisticsProvider. |
abstract void |
resetStats()
Reset all statistics in the StatisticsProvider |
java.lang.String |
toString()
|
protected void |
updateCommonStats(EJBStatsImpl (src) stats)
Obtain the Stats from the StatisticsProvider. |
Methods inherited from class org.jboss.management.j2ee.J2EEManagedObject (src) |
addChild, getobjectName, getObjectName, getObjectName, getparent, getType, getType, iseventProvider, isstateManageable, isstatisticsProvider, newObjectName, postCreation, postRegister, preDeregister, preDestruction, removeChild, removeObject, removeObject, sendNotification, setparent |
Methods inherited from class org.jboss.system.ServiceMBeanSupport (src) |
create, createService, destroy, destroyService, getLog, getName, getNextNotificationSequenceNumber, getServer, getServiceName, getState, getStateString, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, postDeregister, preRegister, start, startService, stop, stopService |
Methods inherited from class org.jboss.mx.util.JBossNotificationBroadcasterSupport (src) |
addNotificationListener, getNotificationInfo, handleNotification, removeNotificationListener, removeNotificationListener, sendNotification |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int ENTITY_BEAN
public static final int STATEFUL_SESSION_BEAN
public static final int STATELESS_SESSION_BEAN
public static final int MESSAGE_DRIVEN_BEAN
protected ObjectName (src) ejbContainerName
Constructor Detail |
public EJB(java.lang.String ejbType, java.lang.String ejbName, ObjectName (src) ejbModuleName, ObjectName (src) ejbContainerName) throws MalformedObjectNameException (src) , InvalidParentException (src)
ejbType
- the EJB.EJB_TYPES stringejbName
- the ejb name, currently the JNDI nameejbModuleName
- the JSR-77 EJBModule name for this beanejbContainerName
- the JMX name of the JBoss ejb container MBean
MalformedObjectNameException (src)
InvalidParentException (src)
Method Detail |
public static ObjectName (src) create(MBeanServer (src) mbeanServer, ObjectName (src) ejbModuleName, ObjectName (src) ejbContainerName, int ejbType, java.lang.String jndiName)
mbeanServer
- the MBeanServer to use for mbean creationejbModuleName
- the name of the JSR77 EJBModule mbeanejbContainerName
- the name of the JBoss ejb container mbeanejbType
- an EJB.XXX_BEAN type constant valuejndiName
- the jndi name of the ejb home
public static void destroy(MBeanServer (src) mbeanServer, ObjectName (src) jsr77Name)
public abstract Stats (src) getstats()
public abstract void resetStats()
public java.lang.String toString()
toString
in class J2EEManagedObject (src)
protected void updateCommonStats(EJBStatsImpl (src) stats)
protected ObjectName (src) getContainerName()
protected ObjectName (src) getContainerCacheName()
protected ObjectName (src) getContainerPoolName()
protected java.util.Hashtable getParentKeys(ObjectName (src) pParent)
J2EEManagedObject (src)
getParentKeys
in class J2EEManagedObject (src)
pParent
- The direct parent of this class
|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |