org.mule.umo.lifecycle
Interface Initialisable

All Known Subinterfaces:
LifecycleInterceptor, UMOAgent, UMOComponent, UMOConnector, UMOContainerContext, UMOEncryptionStrategy, UMOEndpoint, UMOEndpointSecurityFilter, UMOImmutableEndpoint, UMOLifecycleAdapter, UMOModel, UMOSecurityManager, UMOSecurityProvider, UMOSimpleTransformer, UMOTransformer
All Known Implementing Classes:
AbstractConnector, AbstractContainerContext, AbstractEndpointSecurityFilter, AbstractEventLoggerAgent, AbstractExceptionListener, AbstractScriptComponent, AbstractTransformer, AcegiProviderAdapter, AxisServiceComponent, DefaultLifecycleAdapter, ImmutableMuleEndpoint, JcaComponent, JdmkAgent, JmxAgent, KeyBasedEncryptionStrategy, Log4jAgent, MuleAdminAgent, MuleComponent, MuleEndpoint, MuleManagerComponent, MuleModel, MuleSecurityManager, MultiContainerContext, Mx4jAgent, PasswordBasedEncryptionStrategy, PGPSecurityProvider

public interface Initialisable

Initialisable is a lifecycle interface that gets called at the initialise lifecycle stage of the implementing component.

Version:
$Revision: 1.3 $
Author:
Ross Mason

Method Summary
 void initialise()
          Method used to perform any initialisation work.
 

Method Detail

initialise

public void initialise()
                throws InitialisationException,
                       RecoverableException
Method used to perform any initialisation work. If a fatal error occurs during initialisation an 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.

Throws:
InitialisationException - if a fatal error occurs causing the Mule instance to shutdown
RecoverableException - if an error occurs that can be recovered from


Copyright © 2003-2005 SymphonySoft Limited. All Rights Reserved.