org.apache.openejb.core.singleton
Class SingletonInstanceManager
java.lang.Object
org.apache.openejb.core.singleton.SingletonInstanceManager
public class SingletonInstanceManager
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SingletonInstanceManager
public SingletonInstanceManager(SecurityService securityService)
start
protected void start(BeanContext beanContext)
throws OpenEJBException
- Throws:
OpenEJBException
getInstance
public Instance getInstance(ThreadContext callContext)
throws OpenEJBException
- Throws:
OpenEJBException
freeInstance
public void freeInstance(ThreadContext callContext)
discardInstance
public void discardInstance(ThreadContext callContext,
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.
- Parameters:
callContext - bean -
deploy
public void deploy(BeanContext beanContext)
throws OpenEJBException
- Throws:
OpenEJBException
undeploy
public void undeploy(BeanContext beanContext)
Copyright © 1999-2012 The Apache Software Foundation. All Rights Reserved.