@Deprecated public class Log4jAgent extends AbstractAgent
Log4jAgent
exposes the configuration of the Log4J instance running
in Mule for Jmx managementmuleContext, name
PHASE_NAME
PHASE_NAME
PHASE_NAME
PHASE_NAME
Constructor and Description |
---|
Log4jAgent()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Deprecated.
A lifecycle method where implementor should free up any resources.
|
String |
getDescription()
Deprecated.
A description of the agent that gets displayed in the splash
screen when the Mule Context starts up.
|
void |
initialise()
Deprecated.
Method used to perform any initialisation work.
|
void |
start()
Deprecated.
|
void |
stop()
Deprecated.
|
getName, setMuleContext, setName, unregisterMeQuietly
public String getDescription()
Agent
getDescription
in interface Agent
getDescription
in class AbstractAgent
public void initialise() throws InitialisationException
Initialisable
InitialisationException
should be thrown,
causing the Mule instance to shutdown. If the error is recoverable, say by
retrying to connect, a RecoverableException
should be thrown.
There is no guarantee that by throwing a Recoverable exception that the Mule
instance will not shut down.InitialisationException
- if a fatal error occurs causing the Mule instance to shutdownRecoverableException
- if an error occurs that can be recovered frompublic void start() throws MuleException
MuleException
public void stop() throws MuleException
MuleException
public void dispose()
Disposable
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.