public class EntityInstanceManager
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
protected class |
EntityInstanceManager.SynchronizationWrapper |
| Constructor and Description |
|---|
EntityInstanceManager(EntityContainer container,
SecurityService securityService,
int poolSize) |
| Modifier and Type | Method and Description |
|---|---|
void |
deploy(BeanContext beanContext) |
void |
discardInstance(ThreadContext callContext,
EntityBean bean) |
void |
freeInstance(ThreadContext callContext,
EntityBean bean) |
protected EntityBean |
getPooledInstance(ThreadContext callContext) |
protected void |
loadingBean(EntityBean bean,
ThreadContext callContext) |
EntityBean |
obtainInstance(ThreadContext callContext) |
void |
poolInstance(ThreadContext callContext,
EntityBean bean,
java.lang.Object primaryKey) |
protected void |
reusingBean(EntityBean bean,
ThreadContext callContext) |
void |
undeploy(BeanContext beanContext) |
public EntityInstanceManager(EntityContainer container, SecurityService securityService, int poolSize)
public void deploy(BeanContext beanContext)
public void undeploy(BeanContext beanContext)
public EntityBean obtainInstance(ThreadContext callContext) throws OpenEJBException
OpenEJBExceptionprotected void loadingBean(EntityBean bean,
ThreadContext callContext)
throws OpenEJBException
OpenEJBExceptionprotected void reusingBean(EntityBean bean,
ThreadContext callContext)
throws OpenEJBException
OpenEJBExceptionprotected EntityBean getPooledInstance(ThreadContext callContext) throws OpenEJBException
OpenEJBExceptionpublic void poolInstance(ThreadContext callContext, EntityBean bean, java.lang.Object primaryKey) throws OpenEJBException
OpenEJBExceptionpublic void freeInstance(ThreadContext callContext, EntityBean bean) throws SystemException
SystemExceptionpublic void discardInstance(ThreadContext callContext, EntityBean bean) throws SystemException
SystemException