cuba.ejb
Class EJB3SyncAdapter

java.lang.Object
  extended by cuba.AbstractComponentAdapter
      extended by cuba.ejb.EJB3Adapter
          extended by cuba.ejb.EJB3SyncAdapter
All Implemented Interfaces:
javax.ejb.SessionSynchronization

public abstract class EJB3SyncAdapter
extends EJB3Adapter
implements javax.ejb.SessionSynchronization

Base class for generated EJB 3 adapters using state synchronization

Author:
Jan Leßner

Field Summary
 
Fields inherited from class cuba.AbstractComponentAdapter
core
 
Constructor Summary
EJB3SyncAdapter(java.lang.Object core)
           
 
Method Summary
 void afterBegin()
           
 void afterCompletion(boolean committed)
           
 void beforeCompletion()
           
 
Methods inherited from class cuba.ejb.EJB3Adapter
_getCore, _getDefaultEnvironment, _injectDefaultEnvironment, getComponentContext, invoker, set__SessionContext
 
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

EJB3SyncAdapter

public EJB3SyncAdapter(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