Oracle

weblogic.management.runtime
Interface JMSConnectionRuntimeMBean


public interface JMSConnectionRuntimeMBean

This class is used for monitoring a WebLogic JMS connection.

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://edocs.bea.com.


Method Summary
 void destroy()
          Destroys server side context for the connection.
 String getClientID()
          The client ID for this connection.
 String getHostAddress()
          The host address of the client JVM as a string.
 JMSSessionRuntimeMBean[] getSessions()
          An array of sessions for this connection.
 long getSessionsCurrentCount()
          The current number of sessions for this connection.
 long getSessionsHighCount()
          The peak number of sessions for this connection since the last reset.
 long getSessionsTotalCount()
          The number of sessions on this connection since the last reset.
 

Method Detail

destroy

void destroy()

Destroys server side context for the connection.


getClientID

String getClientID()

The client ID for this connection.

Returns:
The clientID value

getSessions

JMSSessionRuntimeMBean[] getSessions()

An array of sessions for this connection.

Returns:
The sessions value

getSessionsCurrentCount

long getSessionsCurrentCount()

The current number of sessions for this connection.

Returns:
The sessionsCurrentCount value

getSessionsHighCount

long getSessionsHighCount()

The peak number of sessions for this connection since the last reset.

Returns:
The sessionsHighCount value

getSessionsTotalCount

long getSessionsTotalCount()

The number of sessions on this connection since the last reset.

Returns:
The sessionsTotalCount value

getHostAddress

String getHostAddress()

The host address of the client JVM as a string.

Returns:
The HostAddress value

Documentation is available at
http://edocs.bea.com/wls/docs103
Copyright 2008 Oracle