org.hibersap.session
Interface Synchronization


public interface Synchronization

Callback interface for transactions.

Author:
Carsten Erker

Method Summary
 void afterCompletion(boolean committed)
          Callback method called after a transaction was committed or rolled back.
 void beforeCompletion()
          Callback method called before committing a transaction.
 

Method Detail

beforeCompletion

void beforeCompletion()
Callback method called before committing a transaction.


afterCompletion

void afterCompletion(boolean committed)
Callback method called after a transaction was committed or rolled back.

Parameters:
committed - Indicates if the transaction was successfully commited.


Copyright © 2012 akquinet tech@spree GmbH. All Rights Reserved.