Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.1.2)

Part Number E27170-02

weblogic.management.runtime
Interface EJBRuntimeMBean

All Superinterfaces:
DynamicMBean, MBeanRegistration, NotificationBroadcaster, RuntimeMBean, WebLogicMBean
All Known Subinterfaces:
EntityEJBRuntimeMBean, MessageDrivenEJBRuntimeMBean, SingletonEJBRuntimeMBean, StatefulEJBRuntimeMBean, StatelessEJBRuntimeMBean

public interface EJBRuntimeMBean
extends RuntimeMBean

This interface contains accessor methods for all common run-time information collected for all EJB types.


Method Summary
 String getEJBName()
          Provides the name for this EJB as defined in the javax.ejb.EJB annotation, or the ejb-name when * using 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 the run-time transaction counts for this EJB.
 
Methods inherited from interface weblogic.management.WebLogicMBean
getMBeanInfo, getName, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setParent
 
Methods inherited from interface javax.management.DynamicMBean
getAttribute, getAttributes, invoke, setAttribute, setAttributes
 
Methods inherited from interface javax.management.MBeanRegistration
postDeregister, postRegister, preDeregister, preRegister
 
Methods inherited from interface javax.management.NotificationBroadcaster
addNotificationListener, getNotificationInfo, removeNotificationListener
 

Method Detail

getTransactionRuntime

EJBTransactionRuntimeMBean getTransactionRuntime()

Provides the EJBTransactionRuntimeMBean, containing the run-time transaction counts for this EJB.

Returns:
The transactionRuntime value

getEJBName

String getEJBName()

Provides the name for this EJB as defined in the javax.ejb.EJB annotation, or the ejb-name when * using 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 message-driven beans and a JDBCConnectionPoolMBean for CMP entity beans.

Returns:
The resources value

Copyright 1996, 2013, 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
Java API Reference for Oracle WebLogic Server
12c (12.1.2)

Part Number E27170-02