IBM WebSphere Multichannel 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

BTT Singleton Scope cache managemer


Constructor Summary
SingletonScope()
           
 
Method Summary
 void cacheElement(java.lang.String id, Tag tag, java.lang.Object element)
          Put the element into cache.
 void destoryElements()
          destroy the cache
 java.lang.Object getElement(java.lang.String id)
          If element in this scope, return the element; Or return null.
 void setLifyCycleProcessor(LifeCycleProcessor processor)
          setter for the 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()
Description copied from interface: Scope
destroy the cache

Specified by:
destoryElements in interface Scope

setLifyCycleProcessor

public void setLifyCycleProcessor(LifeCycleProcessor processor)
Description copied from interface: Scope
setter for the processor

Specified by:
setLifyCycleProcessor in interface Scope

IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2011