IBM Bank Transformation Toolkit Javadoc

com.ibm.btt.element.impl
Class LifeCycleProcessorImpl

java.lang.Object
  extended by com.ibm.btt.element.impl.LifeCycleProcessorImpl
All Implemented Interfaces:
LifeCycleProcessor

public class LifeCycleProcessorImpl
extends java.lang.Object
implements LifeCycleProcessor


Constructor Summary
LifeCycleProcessorImpl()
           
 
Method Summary
 void destroyElement(Tag tag, java.lang.Object element)
          this method will be called on the element when ElementFactory is destroyed.
 java.lang.String getDefaultDestroyMethod()
           
 java.lang.String getDefaultInitMethod()
           
 void initializeElement(Tag tag, java.lang.Object element)
          this method will be called on the element when ElementFactory is about to initialize the Element.
 void setDefaultDestroyMethod(java.lang.String defaultDestroyMethod)
           
 void setDefaultInitMethod(java.lang.String defaultInitMethod)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LifeCycleProcessorImpl

public LifeCycleProcessorImpl()
Method Detail

getDefaultInitMethod

public java.lang.String getDefaultInitMethod()

setDefaultInitMethod

public void setDefaultInitMethod(java.lang.String defaultInitMethod)

getDefaultDestroyMethod

public java.lang.String getDefaultDestroyMethod()

setDefaultDestroyMethod

public void setDefaultDestroyMethod(java.lang.String defaultDestroyMethod)

destroyElement

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

Specified by:
destroyElement in interface LifeCycleProcessor
Parameters:
tag - the tag from which the element is created.
element - the element.
Throws:
ElementException

initializeElement

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

Specified by:
initializeElement in interface LifeCycleProcessor
Parameters:
tag - the tag from which the element is created.
element - the element
Throws:
ElementException

IBM Bank Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2008