static class WASManagedRuntime.WASSynchronization
extends java.lang.Object
This class implements the com.ibm.websphere.jtaextensions.SynchronizationCallback interface. Since SynchronizationCallback is not available at compile time we use Serp to add the interface to the class after all classes have been compiled.
SynchronizationCallback is expected to be available whenever this class is instantiated, therefore this class should only be used when running in WebSphere.
org.apache.openjpa.util.WASTransformer
Modifier and Type | Field and Description |
---|---|
(package private) javax.transaction.Synchronization |
_sync |
Constructor and Description |
---|
WASManagedRuntime.WASSynchronization(javax.transaction.Synchronization sync) |
Modifier and Type | Method and Description |
---|---|
void |
afterCompletion(int localTransactionId,
byte[] globalTransactionId,
boolean committed)
AfterCompletion wrapper.
|
void |
beforeCompletion(int arg0,
byte[] arg1)
BeforeCompletion wrapper.
|
WASManagedRuntime.WASSynchronization(javax.transaction.Synchronization sync)
public void afterCompletion(int localTransactionId, byte[] globalTransactionId, boolean committed)
public void beforeCompletion(int arg0, byte[] arg1)
Copyright © 2006-2013 Apache Software Foundation. All Rights Reserved.