Log4j Version 1.2.14: Class HierarchyDynamicMBean

Log4j 1.2

Log4j 1.2.14

org.apache.log4j.jmx Class HierarchyDynamicMBean

java.lang.Object
  |
  +--org.apache.log4j.jmx.AbstractDynamicMBean
        |
        +--org.apache.log4j.jmx.HierarchyDynamicMBean
All Implemented Interfaces:
javax.management.DynamicMBean, HierarchyEventListener, javax.management.MBeanRegistration, javax.management.NotificationBroadcaster

public class HierarchyDynamicMBean
extends AbstractDynamicMBean
implements HierarchyEventListener, javax.management.NotificationBroadcaster


 
 void
 javax.management.ObjectName
 void
 Object
protected  Logger
 javax.management.MBeanInfo
 javax.management.MBeanNotificationInfo[]
 Object
 void
 void
 void
 void
 
 
 

HierarchyDynamicMBean

public HierarchyDynamicMBean()

addLoggerMBean

public javax.management.ObjectName addLoggerMBean(String name)

addNotificationListener

public void addNotificationListener(javax.management.NotificationListener listener,
                                    javax.management.NotificationFilter filter,
                                    Object handback)
Specified by:
addNotificationListener in interface javax.management.NotificationBroadcaster

getLogger

protected Logger getLogger()
Overrides:
getLogger in class AbstractDynamicMBean

getMBeanInfo

public javax.management.MBeanInfo getMBeanInfo()

getNotificationInfo

public javax.management.MBeanNotificationInfo[] getNotificationInfo()
Specified by:
getNotificationInfo in interface javax.management.NotificationBroadcaster

invoke

public Object invoke(String operationName,
                     Object[] params,
                     String[] signature)
              throws javax.management.MBeanException,
                     javax.management.ReflectionException

getAttribute

public Object getAttribute(String attributeName)
                    throws javax.management.AttributeNotFoundException,
                           javax.management.MBeanException,
                           javax.management.ReflectionException

addAppenderEvent

public void addAppenderEvent(Category logger,
                             Appender appender)
Specified by:
addAppenderEvent in interface HierarchyEventListener

removeAppenderEvent

public void removeAppenderEvent(Category cat,
                                Appender appender)
Specified by:
removeAppenderEvent in interface HierarchyEventListener

postRegister

public void postRegister(Boolean registrationDone)
Overrides:
postRegister in class AbstractDynamicMBean

removeNotificationListener

public void removeNotificationListener(javax.management.NotificationListener listener)
                                throws javax.management.ListenerNotFoundException
Specified by:
removeNotificationListener in interface javax.management.NotificationBroadcaster

setAttribute

public void setAttribute(javax.management.Attribute attribute)
                  throws javax.management.AttributeNotFoundException,
                         javax.management.InvalidAttributeValueException,
                         javax.management.MBeanException,
                         javax.management.ReflectionException

Log4j 1.2.14

Copyright 2000-2005 Apache Software Foundation.