public class EntityInstanceManager extends 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,
javax.ejb.EntityBean bean) |
void |
freeInstance(ThreadContext callContext,
javax.ejb.EntityBean bean) |
protected javax.ejb.EntityBean |
getPooledInstance(ThreadContext callContext) |
protected void |
loadingBean(javax.ejb.EntityBean bean,
ThreadContext callContext) |
javax.ejb.EntityBean |
obtainInstance(ThreadContext callContext) |
void |
poolInstance(ThreadContext callContext,
javax.ejb.EntityBean bean,
Object primaryKey) |
protected void |
reusingBean(javax.ejb.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 javax.ejb.EntityBean obtainInstance(ThreadContext callContext) throws OpenEJBException
OpenEJBExceptionprotected void loadingBean(javax.ejb.EntityBean bean,
ThreadContext callContext)
throws OpenEJBException
OpenEJBExceptionprotected void reusingBean(javax.ejb.EntityBean bean,
ThreadContext callContext)
throws OpenEJBException
OpenEJBExceptionprotected javax.ejb.EntityBean getPooledInstance(ThreadContext callContext) throws OpenEJBException
OpenEJBExceptionpublic void poolInstance(ThreadContext callContext, javax.ejb.EntityBean bean, Object primaryKey) throws OpenEJBException
OpenEJBExceptionpublic void freeInstance(ThreadContext callContext, javax.ejb.EntityBean bean) throws SystemException
SystemExceptionpublic void discardInstance(ThreadContext callContext, javax.ejb.EntityBean bean) throws SystemException
SystemExceptionCopyright © 1999–2014 The Apache Software Foundation. All rights reserved.