org.jboss.soa.esb.actions
Class AbstractActionLifecycle

java.lang.Object
  extended by org.jboss.soa.esb.actions.AbstractActionLifecycle
All Implemented Interfaces:
ActionLifecycle
Direct Known Subclasses:
AbstractActionPipelineProcessor, PropertySetter

public abstract class AbstractActionLifecycle
extends java.lang.Object
implements ActionLifecycle

Abstract class for lifecycle methods

Author:
kevin

Constructor Summary
AbstractActionLifecycle()
           
 
Method Summary
 void destroy()
          Destroy the action instance.
 void initialise()
          Initialise the action instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractActionLifecycle

public AbstractActionLifecycle()
Method Detail

initialise

public 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.

Specified by:
initialise in interface ActionLifecycle
Throws:
ActionLifecycleException - for errors during initialisation.

destroy

public 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.

Specified by:
destroy in interface ActionLifecycle
Throws:
ActionLifecycleException