public class ConfigScannerAgent extends AbstractAgent
| Modifier and Type | Field and Description |
|---|---|
static String |
AGENT_NAME |
muleContext, namePHASE_NAMEPHASE_NAMEPHASE_NAMEPHASE_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, setNamepublic static final String AGENT_NAME
public String getConfigDirName()
public void setConfigDirName(String configDirName)
public String getDescription()
getDescription in interface AgentgetDescription in class AbstractAgentpublic void start()
throws MuleException
MuleExceptionpublic void stop()
throws MuleException
MuleExceptionpublic void dispose()
Disposablepublic void registered()
public void unregistered()
public void initialise()
throws InitialisationException
InitialisableInitialisationException 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 Initialisableinitialise in class AbstractAgentInitialisationException - 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 AgentgetDependentAgents in class AbstractAgentnull.public void setDoStop(boolean doStop)
Copyright © 2003-2012 MuleSource, Inc.. All Rights Reserved.