org.mule.umo.lifecycle
Interface Initialisable

All Known Subinterfaces:
LifecycleInterceptor, UMOAgent, UMOBaseTransformer, UMOComponent, UMOConnector, UMOContainerContext, UMODescriptor, UMOEncryptionStrategy, UMOEndpoint, UMOEndpointSecurityFilter, UMOImmutableDescriptor, UMOImmutableEndpoint, UMOLifecycleAdapter, UMOModel, UMOSecurityManager, UMOSecurityProvider, UMOStreamingTransformer, UMOTransformer
All Known Implementing Classes:
AbstractComponent, AbstractConnector, AbstractContainerContext, AbstractEndpointSecurityFilter, AbstractExceptionListener, AbstractJCEEncryptionStrategy, AbstractModel, AbstractNotificationLoggerAgent, AbstractScriptComponent, AbstractStreamingTransformer, AbstractTransformer, AcegiProviderAdapter, AxisServiceComponent, DefaultJmxSupportAgent, DefaultLifecycleAdapter, ImmutableMuleDescriptor, ImmutableMuleEndpoint, InterceptorStack, JaasSimpleAuthenticationProvider, JcaComponent, JdmkAgent, JmxAgent, KeyBasedEncryptionStrategy, Log4jAgent, MuleAdminAgent, MuleDescriptor, MuleEndpoint, MuleManagerComponent, MuleSecurityManager, MultiContainerContext, Mx4jAgent, NoArgsCallWrapper, PGPSecurityProvider, RestServiceWrapper, RmiRegistryAgent, Scriptable, ScriptMessageBuilder, SpringRemoteInvokerComponent, StaticComponent, TestAgent, WrapperManagerAgent, XFireServiceComponent

public interface Initialisable

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


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

Method Detail

initialise

public void initialise()
                throws InitialisationException
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-2008 MuleSource, Inc.. All Rights Reserved.