BEA Systems, Inc.

Type-Safe Access to BEA WebLogic Server 9.0 MBeans (Deprecated)

(Methods marked with @since 9.0.0.0 are not available through the deprecated MBeanHome interface.)


weblogic.management.runtime
Interface MessageDrivenEJBRuntimeMBean

All Superinterfaces:
DynamicMBean, EJBRuntimeMBean, weblogic.health.HealthFeedback, MBeanRegistration, NotificationBroadcaster, weblogic.management.runtime.RuntimeMBean, weblogic.management.WebLogicMBean

public interface MessageDrivenEJBRuntimeMBean
extends EJBRuntimeMBean, weblogic.health.HealthFeedback

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

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.

Copyright © 2005 BEA Systems, Inc. All Rights Reserved.

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

getConnectionStatus

public String getConnectionStatus()

Provides a count of the connection status for the Message Driven Bean.

Returns:
The connectionStatus value

getDestination

public String getDestination()

Provides a count of the Message Driven Bean destination

Returns:
The destination value

getHealthState

public weblogic.health.HealthState getHealthState()

The health state of this MDB.

Specified by:
getHealthState in interface weblogic.health.HealthFeedback
Returns:
The healthState value

getJmsClientID

public String getJmsClientID()

Provides a count of the Message Driven Bean jmsClientID

Returns:
The jmsClientID value

getLastException

public Throwable getLastException()

Provides the last exception this MDB encountered

Returns:
The lastException

getLastExceptionAsString

public String getLastExceptionAsString()

Provides the last exception as String this MDB encountered

Returns:
The lastException as String

getMDBStatus

public String getMDBStatus()

Provides a count of the Message Driven Bean status MDB status can be: processing and paused

Returns:
The MDBStatus value

getPoolRuntime

public EJBPoolRuntimeMBean getPoolRuntime()

Provides runtime information about the free pool for this EJB.

Returns:
The poolRuntime value

getProcessedMessageCount

public long getProcessedMessageCount()

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

Returns:
The Processed Message Count

getSuspendCount

public 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

getTimerRuntime

public weblogic.management.runtime.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

public 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

resume

public boolean resume()

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


suspend

public boolean suspend()

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


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