org.mule.api.lifecycle
Interface Initialisable

All Known Subinterfaces:
Agent, AuthenticationFilter, Connectable, Connector, EncryptionStrategy, EndpointSecurityFilter, EndpointURI, Lifecycle, LifecycleAdapter, LifecyleEnabledObjectPool, MessageDispatcher, MessageReceiver, MessageRequester, MessageTransformer, Model, MuleContext, MuleCoreExtension, MuleRegistry, ObjectFactory, ObjectPool, OutboundRouter, OutboundRouterCollection, Registry, RegistryBroker, SecurityFilter, SecurityManager, SecurityProvider, Service, Transformer
All Known Implementing Classes:
AbstractAgent, AbstractAggregator, AbstractAsyncRequestReplyRequester, AbstractAuthenticationFilter, AbstractComponent, AbstractCompressionTransformer, AbstractConfigurationPattern, AbstractConnector, AbstractCorrelationAggregator, AbstractDiscoverableTransformer, AbstractEncryptionTransformer, AbstractEndpointSecurityFilter, AbstractExceptionStrategy, AbstractExpressionTransformer, AbstractFlowConstruct, AbstractJavaComponent, AbstractJCEEncryptionStrategy, AbstractJndiConnector, AbstractMessageAwareTransformer, AbstractMessageDispatcher, AbstractMessageProcessorChain, AbstractMessageProcessorOwner, AbstractMessageReceiver, AbstractMessageRequester, AbstractMessageSplitter, AbstractMessageTransformer, AbstractMessagingExceptionStrategy, AbstractModel, AbstractMonitoredObjectStore, AbstractNamedEncryptionStrategy, AbstractNotificationLoggerAgent, AbstractObjectFactory, AbstractOutboundRouter, AbstractPipeline, AbstractPollingMessageReceiver, AbstractRecipientList, AbstractRedeliveryPolicy, AbstractRegistry, AbstractRegistryBroker, AbstractRoundRobinMessageSplitter, AbstractSecurityFilter, AbstractSecurityProvider, AbstractSelectiveRouter, AbstractSequenceRouter, AbstractService, AbstractSystemExceptionStrategy, AbstractTransformer, AbstractTransportMessageHandler, AsyncDelegateMessageProcessor, AutoTransformer, Base64Decoder, Base64Encoder, BeanBuilderTransformer, BeanToMap, Bridge, ByteArrayToHexString, ByteArrayToMuleMessage, ByteArrayToObject, ByteArrayToSerializable, CachingMessageProcessor, ChainingRouter, ChoiceRouter, CommonsPoolObjectPool, ContentBasedRouter, DataHandlerToInputStreamTransformer, DecryptionTransformer, DefaultComponentLifecycleAdapter, DefaultJavaComponent, DefaultLifecycleEnabledObjectPool, DefaultMessageProcessorChain, DefaultMessagingExceptionStrategy, DefaultMuleContext, DefaultOutboundRouterCollection, DefaultRegistryBroker, DefaultSystemExceptionStrategy, EncryptionTransformer, EndpointNotificationLoggerAgent, EndpointSelector, ExceptionBasedRouter, ExpressionMessageSplitter, ExpressionRecipientList, ExpressionSplitter, ExpressionTransformer, FilteringOutboundRouter, FirstSuccessful, Flow, ForwardingConsumer, GenericTransactionManagerLookupFactory, GetBeanProperty, GZipCompressTransformer, GZipUncompressTransformer, HexStringToByteArray, IdempotentMessageFilter, IdempotentRedeliveryPolicy, IdempotentSecureHashMessageFilter, InheritedModel, InMemoryObjectStore, InterceptingChainLifecycleWrapper, InterceptorStack, InvokerMessageProcessor, JBossTransactionManagerLookupFactory, JndiObjectFactory, JRunTransactionManagerLookupFactory, LaxSedaStageInterceptingMessageProcessor, ListMessageSplitter, Log4jNotificationLoggerAgent, LoggerMessageProcessor, MapLookup, MapToBean, MessageChunkAggregator, MessageChunkingRouter, MessageEnricher, MessageFilter, MessageProcessorFilterPair, MessageProcessorPollingConnector, MessageProcessorPollingMessageReceiver, MessagePropertiesTransformer, MonitoredObjectStoreWrapper, MuleEncryptionEndpointSecurityFilter, MuleEndpointURI, MuleMessageToByteArray, MuleObjectStoreManager, MuleRegistryHelper, MuleSecurityManager, MulticastingRouter, NullConnector, NullLifecycleAdapter, NumberToString, ObjectArrayToString, ObjectToByteArray, ObjectToInputStream, ObjectToOutputHandler, ObjectToString, OutboundPassThroughRouter, PassThroughComponent, PasswordBasedEncryptionStrategy, PooledJavaComponent, PooledJavaComponent.LifeCycleAdapterFactory, PropertyEditorTextToValueTransformer, PropertyEditorValueToTextTransformer, PrototypeObjectFactory, Resequencer, Resin3TransactionManagerLookupFactory, ResponseMessageProcessorAdapter, RoundRobin, SecretKeyEncryptionStrategy, SedaModel, SedaService, SedaStageInterceptingMessageProcessor, SequenceRouter, SerializableToByteArray, ServiceAsyncReplyCompositeMessageSource, ServiceAsyncRequestReplyRequestor, ServiceCompositeMessageSource, SimpleAsyncRequestReplyRequester, SimpleCallableJavaComponent, SimpleCollectionAggregator, SimpleRegistryBootstrap, SimpleService, SingletonObjectFactory, StartableCompositeMessageSource, StaticComponent, StaticRecipientList, StringAppendTransformer, StringToBoolean, StringToNumber, StringToObjectArray, TextFileObjectStore, TransactedPollingMessageReceiver, TransformerChain, TransformerRouter, TransformerTemplate, TransientRegistry, TypeBasedTransformerResolver, UnsupportedMessageDispatcher, UnsupportedMessageRequester, UntilSuccessful, UsernamePasswordAuthenticationFilter, Validator, 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-2011 MuleSoft, Inc.. All Rights Reserved.