org.apache.openejb.core.singleton
Class SingletonInstanceManager

java.lang.Object
  extended by org.apache.openejb.core.singleton.SingletonInstanceManager

public class SingletonInstanceManager
extends Object


Field Summary
protected  SafeToolkit toolkit
           
 
Constructor Summary
SingletonInstanceManager(SecurityService securityService)
           
 
Method Summary
 void deploy(CoreDeploymentInfo deploymentInfo)
           
 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.
 void freeInstance(ThreadContext callContext)
           
 Instance getInstance(ThreadContext callContext)
           
 void undeploy(CoreDeploymentInfo deploymentInfo)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

toolkit

protected final SafeToolkit toolkit
Constructor Detail

SingletonInstanceManager

public SingletonInstanceManager(SecurityService securityService)
Method Detail

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.