org.apache.log4j.jmx

Class LoggerDynamicMBean

Implemented Interfaces:
DynamicMBean, MBeanRegistration, NotificationListener

public class LoggerDynamicMBean
extends AbstractDynamicMBean
implements NotificationListener

Constructor Summary

LoggerDynamicMBean(Logger logger)

Method Summary

Object
getAttribute(String attributeName)
protected Logger
getLogger()
MBeanInfo
getMBeanInfo()
void
handleNotification(Notification notification, Object handback)
Object
invoke(String operationName, params[] , signature[] )
void
postRegister(Boolean registrationDone)
void
setAttribute(Attribute attribute)

Methods inherited from class org.apache.log4j.jmx.AbstractDynamicMBean

getAttributes, getLogger, postDeregister, postRegister, preDeregister, preRegister, setAttributes

Constructor Details

LoggerDynamicMBean

public LoggerDynamicMBean(Logger logger)

Method Details

getAttribute

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

getLogger

protected Logger getLogger()
Overrides:
getLogger in interface AbstractDynamicMBean

getMBeanInfo

public MBeanInfo getMBeanInfo()

handleNotification

public void handleNotification(Notification notification,
                               Object handback)

invoke

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

postRegister

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

setAttribute

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

Copyright 2000-2005 Apache Software Foundation.