public class SharedConfig extends AbstractComponent implements Initialisable, MuleContextAware
LOCATION_KEY, ROOT_CONTAINER_NAME_KEY
PHASE_NAME
ANNOTATIONS_PROPERTY_NAME
Constructor and Description |
---|
SharedConfig() |
Modifier and Type | Method and Description |
---|---|
String |
getName() |
void |
initialise()
Method used to perform any initialisation work.
|
void |
setMuleContext(MuleContext context) |
void |
setName(String name) |
getAnnotation, getAnnotations, getLocation, getRootContainerLocation, setAnnotations
public void setMuleContext(MuleContext context)
setMuleContext
in interface MuleContextAware
context
- the Mule node.public void initialise() throws InitialisationException
Initialisable
InitialisationException
should be thrown.
In case that the Initialisable.initialise()
method execution fails then mule will call the Disposable.dispose()
method if
the class also implements Disposable
allowing the object to dispose any allocated resource during
Initialisable.initialise()
initialise
in interface Initialisable
InitialisationException
- if a fatal error occurs causing the Mule instance to shutdownDisposable
public String getName()
public void setName(String name)
Copyright © 2018. All rights reserved.