Log4j Version 1.2.14: Class LoggerDynamicMBean

Log4j 1.2

Log4j 1.2.14

org.apache.log4j.jmx Class LoggerDynamicMBean

java.lang.Object
  |
  +--org.apache.log4j.jmx.AbstractDynamicMBean
        |
        +--org.apache.log4j.jmx.LoggerDynamicMBean
All Implemented Interfaces:
javax.management.DynamicMBean, EventListener, javax.management.MBeanRegistration, javax.management.NotificationListener

public class LoggerDynamicMBean
extends AbstractDynamicMBean
implements javax.management.NotificationListener


 
 Object
protected  Logger
 javax.management.MBeanInfo
 void
 Object
 void
 void
 
 
 

LoggerDynamicMBean

public LoggerDynamicMBean(Logger logger)

handleNotification

public void handleNotification(javax.management.Notification notification,
                               Object handback)
Specified by:
handleNotification in interface javax.management.NotificationListener

getLogger

protected Logger getLogger()
Overrides:
getLogger in class AbstractDynamicMBean

getMBeanInfo

public javax.management.MBeanInfo getMBeanInfo()

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

setAttribute

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

postRegister

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

Log4j 1.2.14

Copyright 2000-2005 Apache Software Foundation.