| |
|
| java.lang.Object org.ofbiz.entity.transaction.GenericXaResource org.ofbiz.service.ServiceXaWrapper
ServiceXaWrapper | public class ServiceXaWrapper extends GenericXaResource (Code) | | ServiceXaWrapper - XA Resource wrapper for running services on commit() or rollback()
author: Andy Zeneski version: $Revision: 1.7 $ since: 3.0 |
commitContext | protected Map commitContext(Code) | | |
rollbackContext | protected Map rollbackContext(Code) | | |
ServiceXaWrapper | protected ServiceXaWrapper()(Code) | | |
getCommitContext | public Map getCommitContext()(Code) | | The context used when running the rollback() service |
getCommitService | public String getCommitService()(Code) | | The name of the service to run on rollback() |
getRollbackContext | public Map getRollbackContext()(Code) | | The context used when running the rollback() service |
getRollbackService | public String getRollbackService()(Code) | | The name of the service to run on rollback() |
setCommitService | public void setCommitService(String serviceName, Map context)(Code) | | Sets the service to run on rollback()
Parameters: serviceName - Name of service to run Parameters: context - Context to use when running |
setRollbackService | public void setRollbackService(String serviceName, Map context)(Code) | | Sets the service to run on rollback()
Parameters: serviceName - Name of service to run Parameters: context - Context to use when running |
|
|
|