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 |
toolkit
protected final SafeToolkit toolkit
SingletonInstanceManager
public SingletonInstanceManager(SecurityService securityService)
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(CoreDeploymentInfo deploymentInfo)
undeploy
public void undeploy(CoreDeploymentInfo deploymentInfo)
Copyright © 1999-2013 The Apache OpenEJB development community. All Rights Reserved.