Skip navigation links

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

Part Number E55141-01
P4 Change 1723563 on 2015/10/09


weblogic.management.runtime
Interface MessageDrivenEJBRuntimeMBean

All Superinterfaces:
DynamicMBean, EJBRuntimeMBean, HealthFeedback, MBeanRegistration, NotificationBroadcaster, RuntimeMBean, WebLogicMBean

public interface MessageDrivenEJBRuntimeMBean
extends EJBRuntimeMBean, HealthFeedback

This interface contains accessor methods for all EJB runtime information collected for a Message Driven Bean.


Method Summary
abstract  String getConnectionStatus()
          Provides the connection status for the Message Driven Bean.
abstract  String getDestination()
          Provides a count of the Message Driven Bean destination
abstract  HealthState getHealthState()
          The health state of this MDB.
abstract  String getJmsClientID()
          Provides a count of the Message Driven Bean jmsClientID
abstract  Throwable getLastException()
          Provides the last exception this MDB encountered
abstract  String getLastExceptionAsString()
          Provides the last exception as String this MDB encountered
abstract  String getMDBStatus()
          Provides the Message Driven Bean status.
abstract  EJBPoolRuntimeMBean getPoolRuntime()
          Provides runtime information about the free pool for this EJB.
abstract  long getProcessedMessageCount()
          Provides a count of the total number of messages processed by this Message Driven Bean.
abstract  int getSuspendCount()
          Provides a count of the total number of times this MDB is suspended by the user or the EJB container.
abstract  EJBTimerRuntimeMBean getTimerRuntime()
          Provides runtime information about any EJB Timers created, for this EJB.
abstract  boolean isJMSConnectionAlive()
          Provides information about whether the Message Driven Bean is currently connected to the JMS destination it is mapped to.
abstract  boolean resume()
          Resumes the specific type of MDB by calling start on the JMS Connection.
abstract  boolean suspend()
          Suspends the specific type of MDB by calling stop on the JMS Connection.

 

Methods inherited from interface weblogic.management.runtime.EJBRuntimeMBean
getEJBName, getResources, getTransactionRuntime

 

Methods inherited from interface weblogic.management.runtime.RuntimeMBean
addPropertyChangeListener, removePropertyChangeListener

 

Methods inherited from interface weblogic.management.WebLogicMBean
getMBeanInfo, getName, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setName, 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

getHealthState

HealthState getHealthState()

The health state of this MDB.

Specified by:
getHealthState in interface HealthFeedback
Returns:
The healthState value

getPoolRuntime

EJBPoolRuntimeMBean getPoolRuntime()

Provides runtime information about the free pool for this EJB.

Returns:
The poolRuntime value

getTimerRuntime

EJBTimerRuntimeMBean getTimerRuntime()

Provides runtime information about any EJB Timers created, for this EJB. If the bean class for this EJB does not implement javax.ejb.TimedObject, null will be returned.

Returns:
The timerRuntime value or null if TimedObject not implemented

isJMSConnectionAlive

boolean isJMSConnectionAlive()

Provides information about whether the Message Driven Bean is currently connected to the JMS destination it is mapped to.

Returns whether the Message Driven Bean is currently connected to the JMS destination it is mapped to.

Returns:
The jMSConnectionAlive value

getConnectionStatus

String getConnectionStatus()

Provides the connection status for the Message Driven Bean. ConnectionStatus can be Connected or Reconnecting.

Returns:
The connectionStatus value

getDestination

String getDestination()

Provides a count of the Message Driven Bean destination

Returns:
The destination value

getJmsClientID

String getJmsClientID()

Provides a count of the Message Driven Bean jmsClientID

Returns:
The jmsClientID value

getMDBStatus

String getMDBStatus()

Provides the Message Driven Bean status. MDBStatus is used after the MDB is connected to the destination. MDBStatus can be Running or Suspended.

Returns:
The MDBStatus value

getProcessedMessageCount

long getProcessedMessageCount()

Provides a count of the total number of messages processed by this Message Driven Bean.

Returns:
The Processed Message Count

getSuspendCount

int getSuspendCount()

Provides a count of the total number of times this MDB is suspended by the user or the EJB container.

Returns:
The suspendCount value

getLastException

Throwable getLastException()

Provides the last exception this MDB encountered

Returns:
The lastException

getLastExceptionAsString

String getLastExceptionAsString()

Provides the last exception as String this MDB encountered

Returns:
The lastException as String

suspend

boolean suspend()
                throws ManagementException

Suspends the specific type of MDB by calling stop on the JMS Connection.

Throws:
ManagementException

resume

boolean resume()
               throws ManagementException

Resumes the specific type of MDB by calling start on the JMS Connection.

Throws:
ManagementException

Skip navigation links

Copyright 1996, 2015, 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.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09