public class ThreadLocalCurrentBeanPoolContext extends java.lang.Object implements CurrentBeanPoolContext
CurrentBeanPoolContext
.Constructor and Description |
---|
ThreadLocalCurrentBeanPoolContext() |
Modifier and Type | Method and Description |
---|---|
void |
cleanupCurrentBeanPool()
Releases 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)
Sets currentBeanPool.
|
void |
setSessionContext(SessionContext sessionContext)
Sets the SessionContext using this instance.
|
public void cleanupCurrentBeanPool()
CurrentBeanPoolContext
cleanupCurrentBeanPool
in interface CurrentBeanPoolContext
public BeanPool getCurrentBeanPool()
CurrentBeanPoolContext
getCurrentBeanPool
in interface CurrentBeanPoolContext
public void setSessionContext(SessionContext sessionContext)
CurrentBeanPoolContext
setSessionContext
in interface CurrentBeanPoolContext
sessionContext
- the context of the interface.public void setCurrentBeanPool(BeanPool currentBeanPool)
CurrentBeanPoolContext
setCurrentBeanPool
in interface CurrentBeanPoolContext
currentBeanPool
- the new current bean pool.