public interface Initialisable
Initialisable is a lifecycle interface that gets called at the
initialise lifecycle stage of the implementing service.| Modifier and Type | Field and Description |
|---|---|
static String |
PHASE_NAME |
| Modifier and Type | Method and Description |
|---|---|
void |
initialise()
Method used to perform any initialisation work.
|
static final String PHASE_NAME
void initialise()
throws InitialisationException
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 fromCopyright © 2003–2015 MuleSoft, Inc.. All rights reserved.