Purpose: Define interface for sequencing callback.
Description: This interface accessed through DatabaseSession.getSequencingHome().getCallback() method.
Responsibilities:
420421422423424425426427428429
/** * INTERNAL: * Called after transaction is completed (committed or rolled back) */ public void afterTransaction(boolean committed, boolean isExternalTransaction, Accessor accessor) { SequencingCallback callback = getSequencingHome().getSequencingCallback(); if (callback != null) { callback.afterTransaction(accessor, committed); } }
157158159160161162163164165166
/** * INTERNAL: * Called after transaction is completed (committed or rolled back) */ public void afterTransaction(boolean committed, boolean isExternalTransaction) { SequencingCallback callback = getSequencingHome().getSequencingCallback(); if (callback != null) { callback.afterTransaction(getAccessor(), committed); } }