|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object lumis.portal.transaction.AbstractTransactionObserver
@StableMinor(version="4.1", sinceVersion="4.0") public abstract class AbstractTransactionObserver
Implementation of ITransactionObserver
that does not affect the
outrun of a transaction. Intended for making the implementation of
ITransactionObserver
easier by extending this class.
Constructor Summary | |
---|---|
AbstractTransactionObserver()
|
Method Summary | |
---|---|
void |
afterCommit()
Called by the observed transaction just after the commit operation. |
void |
afterRollback()
Called by the observed transaction just after the rollback operation. |
boolean |
beforeCommit()
Called by the observed transaction just before the commit operation. |
void |
beforeRollback()
Called by the observed transaction just before the rollback operation. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractTransactionObserver()
Method Detail |
---|
public void afterCommit() throws PortalException
ITransactionObserver
afterCommit
in interface ITransactionObserver
PortalException
public void afterRollback() throws PortalException
ITransactionObserver
afterRollback
in interface ITransactionObserver
PortalException
public boolean beforeCommit() throws PortalException
ITransactionObserver
beforeCommit
in interface ITransactionObserver
PortalException
public void beforeRollback() throws PortalException
ITransactionObserver
beforeRollback
in interface ITransactionObserver
PortalException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |