org.apache.log4j.jmx

Class LayoutDynamicMBean

Implemented Interfaces:
DynamicMBean, MBeanRegistration

public class LayoutDynamicMBean
extends AbstractDynamicMBean

Constructor Summary

LayoutDynamicMBean(Layout layout)

Method Summary

Object
getAttribute(String attributeName)
protected Logger
getLogger()
MBeanInfo
getMBeanInfo()
Object
invoke(String operationName, params[] , signature[] )
void
setAttribute(Attribute attribute)

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

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

Constructor Details

LayoutDynamicMBean

public LayoutDynamicMBean(Layout layout)
            throws IntrospectionException

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()

invoke

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

setAttribute

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

Copyright 2000-2005 Apache Software Foundation.