Log4j 1.2.14

org.apache.log4j.jmx
Class AppenderDynamicMBean

java.lang.Object
  extended by org.apache.log4j.jmx.AbstractDynamicMBean
      extended by org.apache.log4j.jmx.AppenderDynamicMBean
All Implemented Interfaces:
DynamicMBean, MBeanRegistration

public class AppenderDynamicMBean
extends AbstractDynamicMBean


Constructor Summary
AppenderDynamicMBean(Appender appender)
           
 
Method Summary
 Object getAttribute(String attributeName)
           
protected  Logger getLogger()
           
 MBeanInfo getMBeanInfo()
           
 Object invoke(String operationName, Object[] params, String[] signature)
           
 ObjectName preRegister(MBeanServer server, ObjectName name)
           
 void setAttribute(Attribute attribute)
           
 
Methods inherited from class org.apache.log4j.jmx.AbstractDynamicMBean
getAttributes, postDeregister, postRegister, preDeregister, setAttributes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AppenderDynamicMBean

public AppenderDynamicMBean(Appender appender)
                     throws IntrospectionException
Throws:
IntrospectionException
Method Detail

getMBeanInfo

public MBeanInfo getMBeanInfo()

invoke

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

getLogger

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

getAttribute

public Object getAttribute(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

preRegister

public ObjectName preRegister(MBeanServer server,
                              ObjectName name)
Specified by:
preRegister in interface MBeanRegistration
Overrides:
preRegister in class AbstractDynamicMBean

Log4j 1.2.14

Copyright 2000-2005 Apache Software Foundation.