BEA Systems, Inc.

weblogic.management.runtime
Interface EJBRuntimeMBean

All Known Subinterfaces:
EntityEJBRuntimeMBean, MessageDrivenEJBRuntimeMBean, StatefulEJBRuntimeMBean, StatelessEJBRuntimeMBean

public interface EJBRuntimeMBean

This interface contains accessor methods for all common runtime information collected for all EJB types.

Deprecation of MBeanHome and Type-Safe Interfaces

This is a type-safe interface for a WebLogic Server MBean, which you can import into your client classes and access through weblogic.management.MBeanHome. As of 9.0, the MBeanHome interface and all type-safe interfaces for WebLogic Server MBeans are deprecated. Instead, client classes that interact with WebLogic Server MBeans should use standard JMX design patterns in which clients use the javax.management.MBeanServerConnection interface to discover MBeans, attributes, and attribute types at runtime. For more information, see "Developing Manageable Applications with JMX" on http://www.oracle.com/technology/documentation/index.html.


Method Summary
 String getEJBName()
          Provides the ejb-name for this EJB as defined in the ejb-jar.xml deployment descriptor.
 RuntimeMBean[] getResources()
          Provides a list of the RuntimeMBeans for the resources used by this EJB.
 EJBTransactionRuntimeMBean getTransactionRuntime()
          Provides the EJBTransactionRuntimeMBean, containing runtime transaction counts, for this EJB.
 

Method Detail

getTransactionRuntime

EJBTransactionRuntimeMBean getTransactionRuntime()

Provides the EJBTransactionRuntimeMBean, containing runtime transaction counts, for this EJB.

Returns:
The transactionRuntime value

getEJBName

String getEJBName()

Provides the ejb-name for this EJB as defined in the ejb-jar.xml deployment descriptor.

Returns:
The eJBName value

getResources

RuntimeMBean[] getResources()

Provides a list of the RuntimeMBeans for the resources used by this EJB. This will always include an ExecuteQueueRuntimeMBean. It will also include a JMSDestinationRuntimeMBean for MessageDriven beans and a JDBCConnectionPoolMBean for CMP Entity beans.

Returns:
The resources value

Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs100
Copyright 2006 BEA Systems Inc.