org.apache.openejb.core.entity
Class EntityInstanceManager.SynchronizationWrapper

java.lang.Object
  extended by org.apache.openejb.core.entity.EntityInstanceManager.SynchronizationWrapper
All Implemented Interfaces:
Synchronization
Enclosing class:
EntityInstanceManager

protected class EntityInstanceManager.SynchronizationWrapper
extends Object
implements Synchronization


Constructor Summary
EntityInstanceManager.SynchronizationWrapper(CoreDeploymentInfo deploymentInfo, Object primaryKey, javax.ejb.EntityBean bean, boolean available, EntityInstanceManager.Key readyPoolIndex)
           
 
Method Summary
 void afterCompletion(int status)
           
 void associate()
           
 void beforeCompletion()
           
 void disassociate()
           
 javax.ejb.EntityBean getEntityBean()
           
 boolean isAssociated()
           
 boolean isAvailable()
           
 void setEntityBean(javax.ejb.EntityBean ebean)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EntityInstanceManager.SynchronizationWrapper

public EntityInstanceManager.SynchronizationWrapper(CoreDeploymentInfo deploymentInfo,
                                                    Object primaryKey,
                                                    javax.ejb.EntityBean bean,
                                                    boolean available,
                                                    EntityInstanceManager.Key readyPoolIndex)
Method Detail

associate

public void associate()

disassociate

public void disassociate()

isAssociated

public boolean isAssociated()

isAvailable

public boolean isAvailable()

setEntityBean

public void setEntityBean(javax.ejb.EntityBean ebean)

getEntityBean

public javax.ejb.EntityBean getEntityBean()

beforeCompletion

public void beforeCompletion()
Specified by:
beforeCompletion in interface Synchronization

afterCompletion

public void afterCompletion(int status)
Specified by:
afterCompletion in interface Synchronization


Copyright © 1999-2011 The Apache OpenEJB development community. All Rights Reserved.