org.mule.api.lifecycle
Interface Initialisable

All Known Subinterfaces:
Agent, BaseTransformer, Component, Connector, EncryptionStrategy, EndpointSecurityFilter, EndpointURI, InboundRouter, InboundRouterCollection, JavaComponent, Lifecycle, LifecycleAdapter, LifecyleEnabledObjectPool, MessageReceiver, Model, MuleContext, NestedRouter, NestedRouterCollection, ObjectFactory, ObjectPool, OutboundRouter, OutboundRouterCollection, Registry, ResponseRouter, ResponseRouterCollection, Router, RouterCollection, SecurityManager, SecurityProvider, Service, StreamingTransformer, Transformer
All Known Implementing Classes:
AbstractAgent, AbstractComponent, AbstractCompressionTransformer, AbstractConnector, AbstractDiscoverableTransformer, AbstractEncryptionTransformer, AbstractEndpointSecurityFilter, AbstractEventAggregator, AbstractEventResequencer, AbstractExceptionListener, AbstractJavaComponent, AbstractJCEEncryptionStrategy, AbstractJndiConnector, AbstractMessageAwareTransformer, AbstractMessageReceiver, AbstractMessageSplitter, AbstractModel, AbstractMonitoredObjectStore, AbstractNamedEncryptionStrategy, AbstractNotificationLoggerAgent, AbstractObjectFactory, AbstractOutboundRouter, AbstractPollingMessageReceiver, AbstractRecipientList, AbstractRegistry, AbstractResponseAggregator, AbstractResponseRouter, AbstractRouter, AbstractRouterCollection, AbstractService, AbstractTransformer, AutoTransformer, Base64Decoder, Base64Encoder, ByteArrayToHexString, ByteArrayToMuleMessage, ByteArrayToObject, ByteArrayToSerializable, ChainingRouter, CommonsPoolObjectPool, ConfigScannerAgent, CorrelationAggregator, CorrelationEventResequencer, DecryptionTransformer, DefaultExceptionStrategy, DefaultInboundRouterCollection, DefaultJavaComponent, DefaultLifecycleAdapter, DefaultLifecycleEnabledObjectPool, DefaultMuleContext, DefaultNestedRouter, DefaultNestedRouterCollection, DefaultOutboundRouterCollection, DefaultResponseRouterCollection, DefaultServiceExceptionStrategy, DirectModel, DirectService, EncryptionTransformer, EndpointNotificationLoggerAgent, EndpointSelector, ExceptionBasedRouter, ExpressionTransformer, FilteringListMessageSplitter, FilteringOutboundRouter, ForwardingConsumer, GenericTransactionManagerLookupFactory, GetBeanProperty, GZipCompressTransformer, GZipUncompressTransformer, HexStringToByteArray, IdempotentReceiver, IdempotentSecureHashReceiver, InboundPassThroughRouter, InheritedModel, InMemoryObjectStore, JBossTransactionManagerLookupFactory, JndiObjectFactory, JRunTransactionManagerLookupFactory, Log4jNotificationLoggerAgent, MapLookup, MessageChunkingAggregator, MessageChunkingRouter, MessagePropertiesTransformer, MuleEncryptionEndpointSecurityFilter, MuleEndpointURI, MuleMessageToByteArray, MuleSecurityManager, MulticastingRouter, NoActionTransformer, ObjectArrayToString, ObjectToByteArray, ObjectToInputStream, ObjectToOutputHandler, ObjectToString, OutboundPassThroughRouter, PassThroughComponent, PasswordBasedEncryptionStrategy, PipelineModel, PipelineService, PooledJavaComponent, PooledJavaComponent.LifeCycleAdaptorFactory, PrototypeObjectFactory, Resin3TransactionManagerLookupFactory, ResponseCorrelationAggregator, SecretKeyEncryptionStrategy, SedaModel, SedaService, SelectiveConsumer, SerializableToByteArray, SimpleCallableJavaComponent, SimpleCollectionAggregator, SimpleCollectionResponseAggregator, SimpleRegistryBootstrap, SingleResponseRouter, SingletonObjectFactory, StaticComponent, StaticRecipientList, StringAppendTransformer, StringToObjectArray, TemplateEndpointRouter, TextFileObjectStore, TransactedPollingMessageReceiver, TransformerCollection, TransformerRouter, TransformerTemplate, TransientRegistry, WeblogicTransactionManagerLookupFactory, WireTap, XmlEntityDecoder, XmlEntityEncoder

public interface Initialisable

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


Field Summary
static String PHASE_NAME
           
 
Method Summary
 void initialise()
          Method used to perform any initialisation work.
 

Field Detail

PHASE_NAME

static final String PHASE_NAME
See Also:
Constant Field Values
Method Detail

initialise

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.