|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.mx.util.JBossNotificationBroadcasterSupport
org.jboss.management.j2ee.J2EEManagedObject
org.jboss.management.j2ee.EJB
public abstract class EJB
Root class of the JBoss JSR-77.3.10 EJB model
Field Summary | |
---|---|
protected javax.management.ObjectName |
ejbContainerName
The ObjectName of the ejb container MBean |
static int |
ENTITY_BEAN
|
protected String |
jndiName
|
protected String |
localJndiName
|
static int |
MESSAGE_DRIVEN_BEAN
|
static int |
STATEFUL_SESSION_BEAN
|
static int |
STATELESS_SESSION_BEAN
|
Fields inherited from class org.jboss.management.j2ee.J2EEManagedObject |
---|
NAME, server, TYPE |
Constructor Summary | |
---|---|
EJB(String ejbType,
String ejbName,
javax.management.ObjectName ejbModuleName,
javax.management.ObjectName ejbContainerName)
Create a EJB model |
|
EJB(String ejbType,
String ejbName,
javax.management.ObjectName ejbModuleName,
javax.management.ObjectName ejbContainerName,
String jndiName,
String localJndiName)
Create a EJB model |
Method Summary | |
---|---|
static javax.management.ObjectName |
create(javax.management.MBeanServer mbeanServer,
javax.management.ObjectName ejbModuleName,
javax.management.ObjectName ejbContainerName,
int ejbType,
String ejbName,
String jndiName,
String localJndiName)
Create a JSR77 EJB submodel. |
static void |
destroy(javax.management.MBeanServer mbeanServer,
javax.management.ObjectName jsr77Name)
|
protected javax.management.ObjectName |
getContainerCacheName()
|
protected javax.management.ObjectName |
getContainerName()
|
protected javax.management.ObjectName |
getContainerPoolName()
|
String |
getJndiName()
|
String |
getLocalJndiName()
|
protected Hashtable |
getParentKeys(javax.management.ObjectName pParent)
This method can be overwritten by any subclass which must return <parent-j2eeType> indicating its parents. |
abstract javax.management.j2ee.statistics.Stats |
getstats()
Obtain the Stats from the StatisticsProvider. |
abstract void |
resetStats()
Reset all statistics in the StatisticsProvider |
String |
toString()
|
protected void |
updateCommonStats(EJBStatsImpl stats)
Obtain the Stats from the StatisticsProvider. |
Methods inherited from class org.jboss.management.j2ee.J2EEManagedObject |
---|
addChild, getLog, getNextNotificationSequenceNumber, getobjectName, getObjectName, getparent, getServer, getType, getType, iseventProvider, isstateManageable, isstatisticsProvider, newObjectName, postCreation, postDeregister, postRegister, preDeregister, preDestruction, preRegister, removeChild, removeObject, removeObject, sendNotification, setparent |
Methods inherited from class org.jboss.mx.util.JBossNotificationBroadcasterSupport |
---|
addNotificationListener, getNotificationInfo, handleNotification, nextNotificationSequenceNumber, removeNotificationListener, removeNotificationListener, sendNotification |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.jboss.management.j2ee.J2EEManagedObjectMBean |
---|
addChild, getobjectName, getparent, iseventProvider, isstateManageable, isstatisticsProvider, removeChild, setparent |
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 javax.management.ObjectName ejbContainerName
protected String jndiName
protected String localJndiName
Constructor Detail |
---|
public EJB(String ejbType, String ejbName, javax.management.ObjectName ejbModuleName, javax.management.ObjectName ejbContainerName) throws javax.management.MalformedObjectNameException, InvalidParentException
ejbType
- the EJB.EJB_TYPES stringejbName
- the ejb-name from the deploymentejbModuleName
- the JSR-77 EJBModule name for this beanejbContainerName
- the JMX name of the JBoss ejb container MBean
javax.management.MalformedObjectNameException
InvalidParentException
public EJB(String ejbType, String ejbName, javax.management.ObjectName ejbModuleName, javax.management.ObjectName ejbContainerName, String jndiName, String localJndiName) throws javax.management.MalformedObjectNameException, InvalidParentException
ejbType
- the EJB.EJB_TYPES stringejbName
- the ejb-name from the deploymentejbModuleName
- the JSR-77 EJBModule name for this beanejbContainerName
- the JMX name of the JBoss ejb container MBeanjndiName
- the jndi name of the remote home binding is one exists,
null if there is no remote home.localJndiName
- the jndi name of the local home binding is one exists,
null if there is no local home.
javax.management.MalformedObjectNameException
InvalidParentException
Method Detail |
---|
public static javax.management.ObjectName create(javax.management.MBeanServer mbeanServer, javax.management.ObjectName ejbModuleName, javax.management.ObjectName ejbContainerName, int ejbType, String ejbName, String jndiName, String localJndiName)
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 valueejbName
- the bean ejb-namejndiName
- the jndi name of the remote home binding if one exists, or nulllocalJndiName
- the jndi name of the local home binding if one exists, or null
public static void destroy(javax.management.MBeanServer mbeanServer, javax.management.ObjectName jsr77Name)
public abstract javax.management.j2ee.statistics.Stats getstats()
getstats
in interface StatisticsProvider
public abstract void resetStats()
resetStats
in interface StatisticsProvider
public String getJndiName()
getJndiName
in interface EJBMBean
public String getLocalJndiName()
getLocalJndiName
in interface EJBMBean
public String toString()
toString
in class J2EEManagedObject
protected void updateCommonStats(EJBStatsImpl stats)
protected javax.management.ObjectName getContainerName()
protected javax.management.ObjectName getContainerCacheName()
protected javax.management.ObjectName getContainerPoolName()
protected Hashtable getParentKeys(javax.management.ObjectName pParent)
J2EEManagedObject
getParentKeys
in class J2EEManagedObject
pParent
- The direct parent of this class
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |