org.apache.openejb.core.entity
Class EntityInstanceManager
java.lang.Object
org.apache.openejb.core.entity.EntityInstanceManager
public class EntityInstanceManager
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
poolsize
protected int poolsize
container
protected EntityContainer container
txReadyPool
protected Hashtable<Object,EntityInstanceManager.SynchronizationWrapper> txReadyPool
poolMap
protected Map<Object,LinkedListStack> poolMap
logger
public Logger logger
toolkit
protected SafeToolkit toolkit
EntityInstanceManager
public EntityInstanceManager(EntityContainer container,
TransactionManager transactionManager,
SecurityService securityService,
int poolSize)
deploy
public void deploy(DeploymentInfo deploymentInfo)
undeploy
public void undeploy(DeploymentInfo deploymentInfo)
obtainInstance
public javax.ejb.EntityBean obtainInstance(ThreadContext callContext)
throws OpenEJBException
- Throws:
OpenEJBException
loadingBean
protected void loadingBean(javax.ejb.EntityBean bean,
ThreadContext callContext)
throws OpenEJBException
- Throws:
OpenEJBException
reusingBean
protected void reusingBean(javax.ejb.EntityBean bean,
ThreadContext callContext)
throws OpenEJBException
- Throws:
OpenEJBException
getPooledInstance
protected javax.ejb.EntityBean getPooledInstance(ThreadContext callContext)
throws OpenEJBException
- Throws:
OpenEJBException
poolInstance
public void poolInstance(ThreadContext callContext,
javax.ejb.EntityBean bean,
Object primaryKey)
throws OpenEJBException
- Throws:
OpenEJBException
freeInstance
public void freeInstance(ThreadContext callContext,
javax.ejb.EntityBean bean)
throws SystemException
- Throws:
SystemException
discardInstance
public void discardInstance(ThreadContext callContext,
javax.ejb.EntityBean bean)
throws SystemException
- Throws:
SystemException
Copyright © 1999-2011 The Apache OpenEJB development community. All Rights Reserved.