List of usage examples for javax.transaction Synchronization afterCompletion
public void afterCompletion(int status);
From source file:org.hibernate.shards.transaction.ShardedTransactionImpl.java
private void afterTransactionCompletion(int status) { begun = false;/* w w w . ja v a 2 s.c o m*/ if (synchronizations != null) { for (Synchronization sync : synchronizations) { try { sync.afterCompletion(status); } catch (Throwable t) { log.warn("exception calling user Synchronization", t); } } } }