cuba.ejb
Class EJB2SyncAdapter

java.lang.Object
  extended by cuba.AbstractComponentAdapter
      extended by cuba.ejb.EJB2Adapter
          extended by cuba.ejb.EJB2SyncAdapter
All Implemented Interfaces:
java.io.Serializable, javax.ejb.EnterpriseBean, javax.ejb.SessionBean, javax.ejb.SessionSynchronization

public abstract class EJB2SyncAdapter
extends EJB2Adapter
implements javax.ejb.SessionSynchronization

Base class for generated EJB 2 adapters using state synchronization

Author:
Arnold Kmpaczyk
See Also:
Serialized Form

Field Summary
 
Fields inherited from class cuba.AbstractComponentAdapter
core
 
Constructor Summary
EJB2SyncAdapter(java.lang.Object core)
           
 
Method Summary
 void afterBegin()
           
 void afterCompletion(boolean committed)
           
 void beforeCompletion()
           
 
Methods inherited from class cuba.ejb.EJB2Adapter
_getCore, ejbActivate, ejbCreate, ejbPassivate, ejbRemove, invoker, setSessionContext
 
Methods inherited from class cuba.AbstractComponentAdapter
_initCore, _injectDependencies, _postActivate, _postConstruct, _preDestroy, _prePassivate, box, box, box, box, box, box, box, box, invoke, invoke, invokeLifecycle, runtimeException, unbox_boolean, unbox_byte, unbox_char, unbox_double, unbox_float, unbox_hort, unbox_int, unbox_long
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EJB2SyncAdapter

public EJB2SyncAdapter(java.lang.Object core)
Method Detail

afterBegin

public void afterBegin()
Specified by:
afterBegin in interface javax.ejb.SessionSynchronization

beforeCompletion

public void beforeCompletion()
Specified by:
beforeCompletion in interface javax.ejb.SessionSynchronization

afterCompletion

public void afterCompletion(boolean committed)
Specified by:
afterCompletion in interface javax.ejb.SessionSynchronization