IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

com.ibm.btt.element
Interface LifeCycleProcessor

All Known Implementing Classes:
LifeCycleProcessorImpl

public interface LifeCycleProcessor

It is a extension point to the Element Factory, which allows you to execute some logic when the element is about to be initialized or destroyed.


Method Summary
 void destroyElement(Tag tag, java.lang.Object element)
          this method will be called on the element when ElementFactory is destroyed.
 void initializeElement(Tag tag, java.lang.Object element)
          this method will be called on the element when ElementFactory is about to initialize the Element.
 

Method Detail

destroyElement

void destroyElement(Tag tag,
                    java.lang.Object element)
                    throws ElementException
this method will be called on the element when ElementFactory is destroyed. It only affects singleton element.

Parameters:
tag - the tag from which the element is created.
element - the element.
Throws:
ElementException

initializeElement

void initializeElement(Tag tag,
                       java.lang.Object element)
                       throws ElementException
this method will be called on the element when ElementFactory is about to initialize the Element.

Parameters:
tag - the tag from which the element is created.
element - the element
Throws:
ElementException

IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2011