IBM Bank Transformation Toolkit Javadoc

com.ibm.btt.element.scope
Class SingletonScope

java.lang.Object
  extended by com.ibm.btt.element.scope.SingletonScope
All Implemented Interfaces:
Scope

public final class SingletonScope
extends java.lang.Object
implements Scope


Constructor Summary
SingletonScope()
           
 
Method Summary
 void cacheElement(java.lang.String id, Tag tag, java.lang.Object element)
          Put the element into cache.
 void destoryElements()
           
 java.lang.Object getElement(java.lang.String id)
          If element in this scope, return the element; Or return null.
 void setLifyCycleProcessor(LifeCycleProcessor processor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SingletonScope

public SingletonScope()
Method Detail

getElement

public java.lang.Object getElement(java.lang.String id)
Description copied from interface: Scope
If element in this scope, return the element; Or return null.

Specified by:
getElement in interface Scope
Returns:

cacheElement

public void cacheElement(java.lang.String id,
                         Tag tag,
                         java.lang.Object element)
Description copied from interface: Scope
Put the element into cache.

Specified by:
cacheElement in interface Scope

destoryElements

public void destoryElements()
Specified by:
destoryElements in interface Scope

setLifyCycleProcessor

public void setLifyCycleProcessor(LifeCycleProcessor processor)
Specified by:
setLifyCycleProcessor in interface Scope

IBM Bank Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2008