public interface Synchronization
| Modifier and Type | Method and Description | 
|---|---|
| void | afterCompletion(int status)This method is called by the transaction
 manager after the transaction is committed or rolled back. | 
| void | beforeCompletion()The beforeCompletion method is called by the transaction manager prior
 to the start of the two-phase transaction commit process. | 
void beforeCompletion()
void afterCompletion(int status)
status - The status of the transaction completion.Copyright © 1996-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.