NLOG4J 1.2.24

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:
javax.management.DynamicMBean, javax.management.MBeanRegistration

public class AppenderDynamicMBean
extends AbstractDynamicMBean


Constructor Summary
AppenderDynamicMBean(Appender appender)
           
 
Method Summary
 Object getAttribute(String attributeName)
           
protected  Logger getLogger()
           
 javax.management.MBeanInfo getMBeanInfo()
           
 Object invoke(String operationName, Object[] params, String[] signature)
           
 javax.management.ObjectName preRegister(javax.management.MBeanServer server, javax.management.ObjectName name)
           
 void setAttribute(javax.management.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 javax.management.MBeanInfo getMBeanInfo()

invoke

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

getLogger

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

getAttribute

public Object getAttribute(String attributeName)
                    throws javax.management.AttributeNotFoundException,
                           javax.management.MBeanException,
                           javax.management.ReflectionException
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
Throws:
javax.management.AttributeNotFoundException
javax.management.InvalidAttributeValueException
javax.management.MBeanException
javax.management.ReflectionException

preRegister

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

NLOG4J 1.2.24

Copyright 2000-2005 Apache Software Foundation.