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 JMSSessionRuntimeMBean

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

public interface JMSSessionRuntimeMBean
extends weblogic.management.runtime.RuntimeMBean

This class is used for monitoring a WebLogic JMS session.

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 getAcknowledgeMode()
          The acknowledge mode as one of the following:
 long getBytesPendingCount()
          The number of bytes pending (uncommitted and unacknowledged) for this session.
 long getBytesReceivedCount()
          The number of bytes received by this session since the last reset.
 long getBytesSentCount()
          The number of bytes sent by this session since the last reset.
 JMSConsumerRuntimeMBean[] getConsumers()
          An array of consumers for this session.
 long getConsumersCurrentCount()
          The current number of consumers for this session.
 long getConsumersHighCount()
          The peak number of consumers for this session since the last reset.
 long getConsumersTotalCount()
          The number of consumers instantiated by this session since the last reset.
 long getMessagesPendingCount()
          The number of messages pending (uncommitted and unacknowledged) for this session.
 long getMessagesReceivedCount()
          The number of messages received by this session since the last reset.
 long getMessagesSentCount()
          The number of bytes sent by this session since the last reset.
 JMSProducerRuntimeMBean[] getProducers()
          An array of producers for this session.
 long getProducersCurrentCount()
          The current number of producers for this session.
 long getProducersHighCount()
          The peak number of producers for this session since the last reset.
 long getProducersTotalCount()
          The number of producers for this session since the last reset.
 boolean isTransacted()
          Indicates whether the session is transacted.
 
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

getAcknowledgeMode

public String getAcknowledgeMode()

The acknowledge mode as one of the following:

Returns:
The acknowledgeMode value

getBytesPendingCount

public long getBytesPendingCount()

The number of bytes pending (uncommitted and unacknowledged) for this session.

Returns:
The bytesPendingCount value

getBytesReceivedCount

public long getBytesReceivedCount()

The number of bytes received by this session since the last reset.

Returns:
The bytesReceivedCount value

getBytesSentCount

public long getBytesSentCount()

The number of bytes sent by this session since the last reset.

Returns:
The bytesSentCount value

getConsumers

public JMSConsumerRuntimeMBean[] getConsumers()

An array of consumers for this session.

Returns:
The consumers value

getConsumersCurrentCount

public long getConsumersCurrentCount()

The current number of consumers for this session.

Returns:
The consumersCurrentCount value

getConsumersHighCount

public long getConsumersHighCount()

The peak number of consumers for this session since the last reset.

Returns:
The consumersHighCount value

getConsumersTotalCount

public long getConsumersTotalCount()

The number of consumers instantiated by this session since the last reset.

Returns:
The consumersTotalCount value

getMessagesPendingCount

public long getMessagesPendingCount()

The number of messages pending (uncommitted and unacknowledged) for this session.

Returns:
The messagesPendingCount value

getMessagesReceivedCount

public long getMessagesReceivedCount()

The number of messages received by this session since the last reset.

Returns:
The messagesReceivedCount value

getMessagesSentCount

public long getMessagesSentCount()

The number of bytes sent by this session since the last reset.

Returns:
The messagesSentCount value

getProducers

public JMSProducerRuntimeMBean[] getProducers()

An array of producers for this session.

Returns:
The producers value

getProducersCurrentCount

public long getProducersCurrentCount()

The current number of producers for this session.

Returns:
The producersCurrentCount value

getProducersHighCount

public long getProducersHighCount()

The peak number of producers for this session since the last reset.

Returns:
The producersHighCount value

getProducersTotalCount

public long getProducersTotalCount()

The number of producers for this session since the last reset.

Returns:
The producersTotalCount value

isTransacted

public boolean isTransacted()

Indicates whether the session is transacted.

Returns:
The transacted value

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