Class SynchronizationImple
java.lang.Object
com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple
- All Implemented Interfaces:
SynchronizationRecord
,Comparable
Whenever a synchronization is registered, an instance of this class
is used to wrap it.
- Since:
- JTS 1.2.4.
- Version:
- $Id: SynchronizationImple.java 2342 2006-03-30 13:06:17Z $
- Author:
- Mark Little (mark@arjuna.com)
-
Constructor Summary
ConstructorDescriptionSynchronizationImple
(jakarta.transaction.Synchronization ptr) SynchronizationImple
(jakarta.transaction.Synchronization ptr, boolean isInterposed) -
Method Summary
Modifier and TypeMethodDescriptionboolean
afterCompletion
(int status) boolean
int
get_uid()
boolean
toString()
-
Constructor Details
-
SynchronizationImple
public SynchronizationImple(jakarta.transaction.Synchronization ptr) -
SynchronizationImple
public SynchronizationImple(jakarta.transaction.Synchronization ptr, boolean isInterposed)
-
-
Method Details
-
get_uid
- Specified by:
get_uid
in interfaceSynchronizationRecord
-
beforeCompletion
public boolean beforeCompletion()- Specified by:
beforeCompletion
in interfaceSynchronizationRecord
-
afterCompletion
public boolean afterCompletion(int status) - Specified by:
afterCompletion
in interfaceSynchronizationRecord
-
compareTo
- Specified by:
compareTo
in interfaceComparable
-
toString
-
isInterposed
public boolean isInterposed()- Specified by:
isInterposed
in interfaceSynchronizationRecord
-