cuba
Interface StateSynchronizationI


public interface StateSynchronizationI

The StateSynchronizationI interface allows a stateful component instance to be notified by its container of transaction boundaries. This interface is equivalent to javax.ejb.SessionSynchronization but is redefined here to keep CUBA components indpendent from the EJB standard (especially independent from a particular version of the EJB spec).

Author:
jlessner

Method Summary
 void afterBegin()
           
 void afterCompletion(boolean committed)
           
 void beforeCompletion()
           
 

Method Detail

afterBegin

void afterBegin()

beforeCompletion

void beforeCompletion()

afterCompletion

void afterCompletion(boolean committed)