Log4j 1.2.8

org.apache.log4j.jmx
Class LoggerDynamicMBean

java.lang.Object
  extended byorg.apache.log4j.jmx.AbstractDynamicMBean
      extended byorg.apache.log4j.jmx.LoggerDynamicMBean

public class LoggerDynamicMBean
extends AbstractDynamicMBean


Constructor Summary
LoggerDynamicMBean(Logger logger)
           
 
Method Summary
 java.lang.Object getAttribute(java.lang.String attributeName)
           
protected  Logger getLogger()
           
 MBeanInfo getMBeanInfo()
           
 void handleNotification(Notification notification, java.lang.Object handback)
           
 java.lang.Object invoke(java.lang.String operationName, java.lang.Object[] params, java.lang.String[] signature)
           
 void postRegister(java.lang.Boolean registrationDone)
           
 void setAttribute(Attribute attribute)
           
 
Methods inherited from class org.apache.log4j.jmx.AbstractDynamicMBean
getAttributes, postDeregister, preDeregister, preRegister, setAttributes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoggerDynamicMBean

public LoggerDynamicMBean(Logger logger)
Method Detail

handleNotification

public void handleNotification(Notification notification,
                               java.lang.Object handback)

getLogger

protected Logger getLogger()
Specified by:
getLogger in class AbstractDynamicMBean

getMBeanInfo

public MBeanInfo getMBeanInfo()

invoke

public java.lang.Object invoke(java.lang.String operationName,
                               java.lang.Object[] params,
                               java.lang.String[] signature)
                        throws MBeanException,
                               ReflectionException
Throws:
MBeanException
ReflectionException

getAttribute

public java.lang.Object getAttribute(java.lang.String attributeName)
                              throws AttributeNotFoundException,
                                     MBeanException,
                                     ReflectionException
Throws:
AttributeNotFoundException
MBeanException
ReflectionException

setAttribute

public void setAttribute(Attribute attribute)
                  throws AttributeNotFoundException,
                         InvalidAttributeValueException,
                         MBeanException,
                         ReflectionException
Throws:
AttributeNotFoundException
InvalidAttributeValueException
MBeanException
ReflectionException

postRegister

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

Log4j 1.2.8

Copyright 2000-2002 Apache Software Foundation.