org.mule.api.lifecycle
Interface Initialisable

All Known Subinterfaces:
Agent, BaseTransformer, BindingCollection, Component, Connectable, Connector, EncryptionStrategy, EndpointSecurityFilter, EndpointURI, InboundRouter, InboundRouterCollection, InterfaceBinding, JavaComponent, Lifecycle, LifecycleAdapter, LifecyleEnabledObjectPool, MessageDispatcher, MessageReceiver, MessageRequester, Model, MuleContext, MuleRegistry, ObjectFactory, ObjectPool, OutboundRouter, OutboundRouterCollection, Registry, RegistryBroker, ResponseRouter, ResponseRouterCollection, Router, RouterCollection, SecurityManager, SecurityProvider, Service, StreamingTransformer, Transformer
All Known Implementing Classes:
AbstractAgent, AbstractComponent, AbstractCompressionTransformer, AbstractConnectable, AbstractConnector, AbstractCorrelationAggregator, AbstractDiscoverableTransformer, AbstractEncryptionTransformer, AbstractEndpointSecurityFilter, AbstractEventAggregator, AbstractExceptionListener, AbstractExpressionTransformer, AbstractJavaComponent, AbstractJCEEncryptionStrategy, AbstractJndiConnector, AbstractMessageAwareTransformer, AbstractMessageDispatcher, AbstractMessageReceiver, AbstractMessageRequester, AbstractMessageSplitter, AbstractModel, AbstractMonitoredObjectStore, AbstractNamedEncryptionStrategy, AbstractNotificationLoggerAgent, AbstractObjectFactory, AbstractOutboundRouter, AbstractPollingMessageReceiver, AbstractRecipientList, AbstractRegistry, AbstractRegistryBroker, AbstractResponseAggregator, AbstractResponseRouter, AbstractRoundRobinMessageSplitter, AbstractRouter, AbstractRouterCollection, AbstractSecurityProvider, AbstractService, AbstractTransformer, AutoTransformer, Base64Decoder, Base64Encoder, BeanBuilderTransformer, BeanToMap, ByteArrayToHexString, ByteArrayToMuleMessage, ByteArrayToObject, ByteArrayToSerializable, ChainingRouter, CommonsPoolObjectPool, ConfigScannerAgent, CorrelationEventResequencer, DecryptionTransformer, DefaultBindingCollection, DefaultExceptionStrategy, DefaultInboundRouterCollection, DefaultInterfaceBinding, DefaultJavaComponent, DefaultLifecycleAdapter, DefaultLifecycleEnabledObjectPool, DefaultMuleContext, DefaultOutboundRouterCollection, DefaultRegistryBroker, DefaultResponseRouterCollection, DefaultServiceExceptionStrategy, DirectModel, DirectService, EncryptionTransformer, EndpointNotificationLoggerAgent, EndpointSelector, ExceptionBasedRouter, ExpressionMessageSplitter, ExpressionRecipientList, ExpressionTransformer, FilteringOutboundRouter, ForwardingConsumer, GenericTransactionManagerLookupFactory, GetBeanProperty, GZipCompressTransformer, GZipUncompressTransformer, HexStringToByteArray, IdempotentReceiver, IdempotentSecureHashReceiver, InboundPassThroughRouter, InheritedModel, InMemoryObjectStore, InterceptorStack, JBossTransactionManagerLookupFactory, JndiObjectFactory, JRunTransactionManagerLookupFactory, ListMessageSplitter, Log4jNotificationLoggerAgent, MapLookup, MapToBean, MessageChunkingAggregator, MessageChunkingRouter, MessagePropertiesTransformer, MuleEncryptionEndpointSecurityFilter, MuleEndpointURI, MuleMessageToByteArray, MuleRegistryHelper, MuleSecurityManager, MulticastingRouter, NoActionTransformer, NullLifecycleAdapter, 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, TransformerChain, TransformerRouter, TransformerTemplate, TransientRegistry, TypeBasedTransformerResolver, UnsupportedMessageDispatcher, UnsupportedMessageRequester, 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-2010 MuleSoft, Inc.. All Rights Reserved.