org.mule.module.management.agent
Class Log4jAgent
java.lang.Object
org.mule.AbstractAgent
org.mule.module.management.agent.Log4jAgent
- All Implemented Interfaces:
- Agent, MuleContextAware, Disposable, Initialisable, Lifecycle, Startable, Stoppable, NameableObject, NamedObject
public class Log4jAgent
- extends AbstractAgent
Log4jAgent exposes the configuration of the Log4J instance running
in Mule for Jmx management
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JMX_OBJECT_NAME
public static final String JMX_OBJECT_NAME
- See Also:
- Constant Field Values
Log4jAgent
public Log4jAgent()
getDescription
public String getDescription()
- Specified by:
getDescription in interface Agent- Overrides:
getDescription in class AbstractAgent
initialise
public void initialise()
throws InitialisationException
- Throws:
InitialisationException
unregisterMBeansIfNecessary
protected void unregisterMBeansIfNecessary()
throws MalformedObjectNameException,
InstanceNotFoundException,
MBeanRegistrationException
- Unregister log4j MBeans if there are any left over the old deployment
- Throws:
MalformedObjectNameException
InstanceNotFoundException
MBeanRegistrationException
start
public void start()
throws MuleException
- Throws:
MuleException
stop
public void stop()
throws MuleException
- Throws:
MuleException
dispose
public void dispose()
Copyright © 2003-2011 MuleSoft, Inc.. All Rights Reserved.