Oracle Fusion Middleware
Oracle WebLogic Server MBean Javadoc
11g Release 1 (10.3.6)

Part Number E13945-06

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/products/weblogic/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

Copyright 1996, 2011, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Oracle WebLogic Server MBean Javadoc
11g Release 1 (10.3.6)

Part Number E13945-06