com.softwareag.centrasite.appl.framework
Class ThreadLocalCurrentBeanPoolContext

java.lang.Object
  extended by com.softwareag.centrasite.appl.framework.ThreadLocalCurrentBeanPoolContext
All Implemented Interfaces:
CurrentBeanPoolContext

public class ThreadLocalCurrentBeanPoolContext
extends java.lang.Object
implements CurrentBeanPoolContext


Constructor Summary
ThreadLocalCurrentBeanPoolContext()
           
 
Method Summary
 void cleanupCurrentBeanPool()
          Release references to the "current" bean pool and any other resources.
 BeanPool getCurrentBeanPool()
          Retrieve the current bean pool according to the scoping defined by this implementation.
 void setCurrentBeanPool(BeanPool currentBeanPool)
          Set currentBeanPool.
 void setSessionContext(SessionContext sessionContext)
          Sets the SessionContext using this instance.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThreadLocalCurrentBeanPoolContext

public ThreadLocalCurrentBeanPoolContext()
Method Detail

cleanupCurrentBeanPool

public void cleanupCurrentBeanPool()
Description copied from interface: CurrentBeanPoolContext
Release references to the "current" bean pool and any other resources.

Specified by:
cleanupCurrentBeanPool in interface CurrentBeanPoolContext

getCurrentBeanPool

public BeanPool getCurrentBeanPool()
Description copied from interface: CurrentBeanPoolContext
Retrieve the current bean pool according to the scoping defined by this implementation.

Specified by:
getCurrentBeanPool in interface CurrentBeanPoolContext
Returns:
bean pool

setSessionContext

public void setSessionContext(SessionContext sessionContext)
Description copied from interface: CurrentBeanPoolContext
Sets the SessionContext using this instance.

Specified by:
setSessionContext in interface CurrentBeanPoolContext

setCurrentBeanPool

public void setCurrentBeanPool(BeanPool currentBeanPool)
Description copied from interface: CurrentBeanPoolContext
Set currentBeanPool. The method removes any previous bindings of the SessionContext.

Specified by:
setCurrentBeanPool in interface CurrentBeanPoolContext
Parameters:
currentBeanPool - the new current bean pool