BEA Systems, Inc.

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


weblogic.management.runtime
Interface SAFAgentRuntimeMBean

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

public interface SAFAgentRuntimeMBean
extends SAFStatisticsCommonMBean, weblogic.health.HealthFeedback

This class is used for monitoring a WebLogic SAF agent.

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.

Since:
9.0.0.0
Copyright © 2005 BEA Systems, Inc. All Rights Reserved.

Method Summary
 SAFConversationRuntimeMBean[] getConversations()
          A list of SAFConversationRuntimeMBean instances
 long getConversationsCurrentCount()
          Returns the current number of conversations
 long getConversationsHighCount()
          The peak number of conversations since the last reset.
 long getConversationsTotalCount()
          The total number of conversations since the last reset.
 weblogic.health.HealthState getHealthState()
          The health state of this JMS server.
 SAFRemoteEndpointRuntimeMBean[] getRemoteEndpoints()
          The remote endpoints to which this SAF agent has been storing and forwarding messages.
 long getRemoteEndpointsCurrentCount()
          The current number of remote endpoints to which this SAF agent has been storing and forwarding messages.
 long getRemoteEndpointsHighCount()
          The peak number of remote endpoints to which this SAF agent has been storing and forwarding messages since last reset.
 long getRemoteEndpointsTotalCount()
          The number of remote endpoints to which this SAF agent has been storing and forwarding messages since last reset.
 boolean isPausedForForwarding()
          Indicates whether or not the sending agent is paused for forwarding at the current time.
 boolean isPausedForIncoming()
          Indicates whether or not the sending agent is paused for incoming messages at the current time.
 boolean isPausedForReceiving()
          Indicates whether or not the receiving agent is paused for receiving at the current time.
 void pauseForwarding()
          Pauses the sending agent on forwarding messages so that the agent will not forward messages but will accept new messages.
 void pauseIncoming()
          Pauses the sending agent on accepting new messages.
 void pauseReceiving()
          Pauses the receiving agent on receiving messages.
 void resumeForwarding()
          Resumes the sending agent for forwarding messages.
 void resumeIncoming()
          Resumes the sending agent for accepting new messages.
 void resumeReceiving()
          Resumes the receiving agent for receiving messages.
 
Methods inherited from interface weblogic.management.runtime.SAFStatisticsCommonMBean
getBytesCurrentCount, getBytesHighCount, getBytesPendingCount, getBytesReceivedCount, getBytesThresholdTime, getFailedMessagesTotal, getMessagesCurrentCount, getMessagesHighCount, getMessagesPendingCount, getMessagesReceivedCount, getMessagesThresholdTime
 
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

getConversations

public SAFConversationRuntimeMBean[] getConversations()

A list of SAFConversationRuntimeMBean instances

Returns:
The conversations value

getConversationsCurrentCount

public long getConversationsCurrentCount()

Returns the current number of conversations

Returns:
The conversationsCurrentCount value

getConversationsHighCount

public long getConversationsHighCount()

The peak number of conversations since the last reset.

Returns:
The conversationsHighCount value

getConversationsTotalCount

public long getConversationsTotalCount()

The total number of conversations since the last reset.

Returns:
The conversationsTotalCount value

getHealthState

public weblogic.health.HealthState getHealthState()

The health state of this JMS server.

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

getRemoteEndpoints

public SAFRemoteEndpointRuntimeMBean[] getRemoteEndpoints()

The remote endpoints to which this SAF agent has been storing and forwarding messages.

Returns:
The remoteEndpoints value

getRemoteEndpointsCurrentCount

public long getRemoteEndpointsCurrentCount()

The current number of remote endpoints to which this SAF agent has been storing and forwarding messages.

Returns:
The remoteEndpointsCurrentCount value

getRemoteEndpointsHighCount

public long getRemoteEndpointsHighCount()

The peak number of remote endpoints to which this SAF agent has been storing and forwarding messages since last reset.

Returns:
The remoteEndpointsHighCount value

getRemoteEndpointsTotalCount

public long getRemoteEndpointsTotalCount()

The number of remote endpoints to which this SAF agent has been storing and forwarding messages since last reset.

Returns:
The remoteEndpointsTotalCount value

isPausedForForwarding

public boolean isPausedForForwarding()

Indicates whether or not the sending agent is paused for forwarding at the current time.


isPausedForIncoming

public boolean isPausedForIncoming()

Indicates whether or not the sending agent is paused for incoming messages at the current time.


isPausedForReceiving

public boolean isPausedForReceiving()

Indicates whether or not the receiving agent is paused for receiving at the current time.


pauseForwarding

public void pauseForwarding()
                     throws weblogic.messaging.saf.SAFException

Pauses the sending agent on forwarding messages so that the agent will not forward messages but will accept new messages.

Throws:
weblogic.messaging.saf.SAFException

pauseIncoming

public void pauseIncoming()
                   throws weblogic.messaging.saf.SAFException

Pauses the sending agent on accepting new messages.

Throws:
weblogic.messaging.saf.SAFException

pauseReceiving

public void pauseReceiving()
                    throws weblogic.messaging.saf.SAFException

Pauses the receiving agent on receiving messages.

Throws:
weblogic.messaging.saf.SAFException

resumeForwarding

public void resumeForwarding()
                      throws weblogic.messaging.saf.SAFException

Resumes the sending agent for forwarding messages.

Throws:
weblogic.messaging.saf.SAFException

resumeIncoming

public void resumeIncoming()
                    throws weblogic.messaging.saf.SAFException

Resumes the sending agent for accepting new messages.

Throws:
weblogic.messaging.saf.SAFException

resumeReceiving

public void resumeReceiving()
                     throws weblogic.messaging.saf.SAFException

Resumes the receiving agent for receiving messages.

Throws:
weblogic.messaging.saf.SAFException

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