public class ServiceSynchronization extends Object implements Synchronization
Constructor and Description |
---|
ServiceSynchronization() |
Modifier and Type | Method and Description |
---|---|
void |
afterCompletion(int status) |
void |
beforeCompletion() |
protected static ServiceSynchronization |
getInstance() |
static void |
registerCommitService(DispatchContext dctx,
String serviceName,
String runAsUser,
Map<String,? extends Object> context,
boolean async,
boolean persist) |
static void |
registerRollbackService(DispatchContext dctx,
String serviceName,
String runAsUser,
Map<String,? extends Object> context,
boolean async,
boolean persist) |
public static final String MODULE
public static void registerCommitService(DispatchContext dctx, String serviceName, String runAsUser, Map<String,? extends Object> context, boolean async, boolean persist) throws GenericServiceException
GenericServiceException
public static void registerRollbackService(DispatchContext dctx, String serviceName, String runAsUser, Map<String,? extends Object> context, boolean async, boolean persist) throws GenericServiceException
GenericServiceException
protected static ServiceSynchronization getInstance() throws GenericServiceException
GenericServiceException
public void afterCompletion(int status)
afterCompletion
in interface Synchronization
public void beforeCompletion()
beforeCompletion
in interface Synchronization