org.jboss.soa.esb.actions
Interface ActionLifecycle
- All Known Subinterfaces:
- ActionPipelineProcessor
- All Known Implementing Classes:
- AbstractActionLifecycle, AbstractActionPipelineProcessor, AbstractAggregator, AbstractObjectXStream, AbstractRouter, AbstractSpringAction, Aggregator, BeanConfigActionProcessor, BeanContainerAction, BOMFilter, BpmProcessor, BusinessRulesProcessor, ByteArrayToString, ContentBasedRouter, ContentBasedWiretap, EchoRouter, EJBProcessor, EmailRouter, EmailWiretap, FileNameGeneratorAction, GroovyActionProcessor, HttpRouter, JBpmCallback, JMSRouter, MessageFilter, MessagePersister, MessageRedeliverer, MockAction, MVELMonitoringAction, Notifier, ObjectInvoke, ObjectToCSVString, ObjectToXStream, PropertySetter, SchemaValidationAction, ScriptingAction, ServiceLoggerAction, SmooksAction, SmooksAction, SmooksTransformer, SOAPClient, SOAPClient, SOAPProcessor, SOAPProxy, StaticRouter, StaticWiretap, StoreMessageToFile, StreamingAggregator, StringTemplateProcessor, SyncServiceInvoker, SystemPrintln, TestMessageStore, XsltAction, XStreamToObject
public interface ActionLifecycle
Interface representing lifecycle methods of an action.
Actions implementing this interface will participate in the application
lifecycle and should not contain any state specific to a particular message
instance. Each ActionProcessingPipeline
will instantiate a single
instance of the action to process all messages passing through the pipeline.
- Author:
- kevin
Method Summary |
void |
destroy()
Destroy the action instance. |
void |
initialise()
Initialise the action instance. |
initialise
void initialise()
throws ActionLifecycleException
- Initialise the action instance.
This method is called after the action instance has been instantiated so that
configuration options can be validated.
- Throws:
ActionLifecycleException
- for errors during initialisation.
destroy
void destroy()
throws ActionLifecycleException
- Destroy the action instance.
This method is called prior to the release of the action instance. All
resources associated with this action instance should be released as the
instance will no longer be used.
- Throws:
ActionLifecycleException