org.ow2.jonas.lib.jmbeans.log
Class LogManagementMBean

java.lang.Object
  extended by org.apache.commons.modeler.BaseModelMBean
      extended by org.ow2.jonas.lib.jmbeans.log.LogManagementMBean
All Implemented Interfaces:
DynamicMBean, MBeanRegistration, ModelMBean, ModelMBeanNotificationBroadcaster, NotificationBroadcaster, PersistentMBean

public class LogManagementMBean
extends org.apache.commons.modeler.BaseModelMBean

MBean interface for Logger management.

Author:
Philippe Durieux, Adriana Danes

Field Summary
 
Fields inherited from class org.apache.commons.modeler.BaseModelMBean
attributeBroadcaster, attributes, generalBroadcaster, info, oname, registry, resource, resourceType, source
 
Constructor Summary
LogManagementMBean()
           
 
Method Summary
 void addNotificationListener(NotificationListener arg0, NotificationFilter arg1, Object arg2)
          Super charge of the methode to take advantage of JMX notification offered by Monolog 2.0
 
Methods inherited from class org.apache.commons.modeler.BaseModelMBean
addAttributeChangeNotificationListener, createDefaultModelMBeanInfo, createResource, getAttribute, getAttributes, getClassName, getJmxName, getManagedResource, getMBeanInfo, getModelerType, getNotificationInfo, getObjectName, getRegistry, initModelInfo, invoke, isModelMBeanInfoValid, load, postDeregister, postRegister, preDeregister, preRegister, removeAttributeChangeNotificationListener, removeAttributeChangeNotificationListener, removeNotificationListener, removeNotificationListener, removeNotificationListener, sendAttributeChangeNotification, sendAttributeChangeNotification, sendNotification, sendNotification, setAttribute, setAttributes, setManagedResource, setModeledType, setModelMBeanInfo, setRegistry, store, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LogManagementMBean

public LogManagementMBean()
                   throws MBeanException
Throws:
MBeanException
Method Detail

addNotificationListener

public void addNotificationListener(NotificationListener arg0,
                                    NotificationFilter arg1,
                                    Object arg2)
Super charge of the methode to take advantage of JMX notification offered by Monolog 2.0

Specified by:
addNotificationListener in interface NotificationBroadcaster
Overrides:
addNotificationListener in class org.apache.commons.modeler.BaseModelMBean
Parameters:
arg0 - The notification Listener
arg1 - The notification Filter
arg2 - Handback object


Copyright © 2010 OW2 Consortium. All Rights Reserved.