public class ConfigScannerAgent extends AbstractAgent
Modifier and Type | Field and Description |
---|---|
static String |
AGENT_NAME |
muleContext, name
PHASE_NAME
PHASE_NAME
PHASE_NAME
PHASE_NAME
Constructor and Description |
---|
ConfigScannerAgent() |
Modifier and Type | Method and Description |
---|---|
void |
dispose()
A lifecycle method where implementor should free up any resources.
|
String |
getConfigDirName() |
List |
getDependentAgents() |
String |
getDescription()
Should be a 1 line description of the agent
|
void |
initialise()
Method used to perform any initialisation work.
|
void |
registered() |
void |
setConfigDirName(String configDirName) |
void |
setDoStop(boolean doStop) |
void |
start() |
void |
stop() |
String |
toString() |
void |
unregistered() |
getName, setMuleContext, setName
public static final String AGENT_NAME
public String getConfigDirName()
public void setConfigDirName(String configDirName)
public String getDescription()
getDescription
in interface Agent
getDescription
in class AbstractAgent
public void start() throws MuleException
MuleException
public void stop() throws MuleException
MuleException
public void dispose()
Disposable
public void registered()
public void unregistered()
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.initialise
in interface Initialisable
initialise
in class AbstractAgent
InitialisationException
- if a fatal error occurs causing the Mule instance to shutdownRecoverableException
- if an error occurs that can be recovered frompublic List getDependentAgents()
getDependentAgents
in interface Agent
getDependentAgents
in class AbstractAgent
null
.public void setDoStop(boolean doStop)
Copyright © 2003–2013 MuleSource, Inc.. All rights reserved.