Package org.mule.api.lifecycle

Lifecycle interfaces for all Components.

See:
          Description

Interface Summary
Callable Callable is used to provide a Service with an interface that supports event calls.
Disposable Disposable is a lifecycle interface that gets called at the dispose lifecycle stage of the implementing service as the service is being destroyed.
EventListener EventListener is a marker interface that is implemented by objects wishing to receive Mule events in managed environments, such as an EJB container.
Initialisable Initialisable is a lifecycle interface that gets called at the initialise lifecycle stage of the implementing service.
InitialisationCallback InitialisationCallback is used to provide customised initialiation for more complex components.
Lifecycle DefaultLifecyclePhase adds lifecycle methods start, stop and dispose.
LifecycleManager The LifecycleManager is responsible for managing the different lifecycle phases of the server and managing the transitions between lifecycle phases.
LifecyclePair A coupling of two opposite LifecyclePhase instances such as initialise and dispose or start and stop Mule treats lifecycle in pairs in order to return system state to a level consistency when an opposite lifecycle method is called.
LifecyclePhase Encapsulates the notion of a lifecycle phase i.e.
LifecycleState A safe facade for lifecycle manager that objects can use to monitor its own state
Startable Startable provides an object with a Startable.start() method which gets called when the Mule instance gets started.
Stoppable Stoppable is a lifecycle interfaqce that introduces a Stoppable.stop() method to an object.
 

Class Summary
LifecycleTransitionResult Restrict possible results - only OK or a retry based on some throwable are currently allowed.
 

Exception Summary
CreateException CreateException is thrown when creating an object inside Mule wasn't possible due to inconsistent internal state or wrong input.
DisposeException DisposeException TODO (document class)
FatalException FatalException can be thrown during initialisation or during execution to indicate that something fatal has occurred and the MuleManager must shutdown.
InitialisationException InitialisationException is thrown by the initialise method defined in the org.mule.api.lifecycle.Initialisable interface.
LifecycleException LifecycleException TODO
RecoverableException RecoverableException can be thrown during initialisation to indicate that the error occurred is not fatal and a reactive action can be performed to try and remedy the error.
StartException DisposeException TODO (document class)
StopException DisposeException TODO (document class)
 

Package org.mule.api.lifecycle Description

Lifecycle interfaces for all Components.



Copyright © 2003-2010 MuleSoft, Inc.. All Rights Reserved.