public class SingletonInstanceManager
extends java.lang.Object
| Constructor and Description |
|---|
SingletonInstanceManager(SecurityService securityService) |
| Modifier and Type | Method and Description |
|---|---|
void |
deploy(BeanContext beanContext) |
void |
discardInstance(ThreadContext callContext,
java.lang.Object bean)
This method has no work to do as all instances are removed from
the pool on getInstance(...) and not returned via poolInstance(...)
if they threw a system exception.
|
void |
freeInstance(ThreadContext callContext) |
Instance |
getInstance(ThreadContext callContext) |
protected void |
start(BeanContext beanContext) |
void |
undeploy(BeanContext beanContext) |
public SingletonInstanceManager(SecurityService securityService)
protected void start(BeanContext beanContext) throws OpenEJBException
OpenEJBExceptionpublic Instance getInstance(ThreadContext callContext) throws OpenEJBException
OpenEJBExceptionpublic void freeInstance(ThreadContext callContext)
public void discardInstance(ThreadContext callContext, java.lang.Object bean)
callContext - bean - public void deploy(BeanContext beanContext) throws OpenEJBException
OpenEJBExceptionpublic void undeploy(BeanContext beanContext)