BEA Systems, Inc.

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

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


weblogic.management.runtime
Interface LogBroadcasterRuntimeMBean

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

public interface LogBroadcasterRuntimeMBean
extends weblogic.management.runtime.RuntimeMBean

This MBean broadcasts JMX notifications for each log message generated in the local WLS server. There is exactly one implementation of this MBean in each WLS server. JMX listeners can register to this MBean and receive log notifications. The type of the notification generated is WebLogicLogNotification.

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.

See Also:
weblogic.management.logging.WebLogicLogNotification

Field Summary
static String BROADCASTER_NAME
          MBean Name of the singleton which implements this interface in each WLS server.
 
Method Summary
 long getMessagesLogged()
          The total number of log messages that this WebLogic Server instance has generated.
 
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
 

Field Detail

BROADCASTER_NAME

public static final String BROADCASTER_NAME
MBean Name of the singleton which implements this interface in each WLS server. This name can be used to find this MBean using JMX mechanisms. e.g. mbeanHome.getRuntimeMBean(BROADCASTER_NAME,"LogBroadcasterRuntime");

See Also:
Constant Field Values
Method Detail

getMessagesLogged

public long getMessagesLogged()

The total number of log messages that this WebLogic Server instance has generated.

Returns:
The messagesLogged value

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