IBM WebSphere Multichannel 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()
          getter
 java.lang.String getDefaultInitMethod()
           
 void initializeElement(Tag tag, java.lang.Object element)
          init a Element from a Tag
 void setDefaultDestroyMethod(java.lang.String defaultDestroyMethod)
          setter
 void setDefaultInitMethod(java.lang.String defaultInitMethod)
          setter
 
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)
setter

Parameters:
defaultInitMethod -

getDefaultDestroyMethod

public java.lang.String getDefaultDestroyMethod()
getter

Returns:
String methodname

setDefaultDestroyMethod

public void setDefaultDestroyMethod(java.lang.String defaultDestroyMethod)
setter

Parameters:
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
init a Element from a Tag

Specified by:
initializeElement in interface LifeCycleProcessor
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, 2009