public class XAJdbcDstService extends SimpleJdbcDstService implements IXAWritableService
| Constructor and Description |
|---|
XAJdbcDstService(TaskType task) |
| Modifier and Type | Method and Description |
|---|---|
void |
commit(String xid) |
void |
end(String xid) |
String |
getId()
Return the service unique identifier
The identifier must be unique to distinguish it from the other XA resource manager
|
int |
prepare(String xid) |
void |
rollback(String xid) |
void |
setTransactionManager(TransactionManager xaTM) |
String |
start()
Ask for a Xid to the XA resource manager
|
void |
submit(String xid,
LscModifications lm) |
getRequestNameForClean, getRequestNameForList, getRequestNameForNextId, getRequestNameForObject, getRequestsNameForDelete, getRequestsNameForInsert, getRequestsNameForUpdateapply, getWriteDatasetIdsfillAttributesMap, getAttributesMap, getAttributesMap, getBean, getBean, getListPivots, getValueequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitapply, getWriteDatasetIdsgetBean, getListPivotspublic XAJdbcDstService(TaskType task) throws LscServiceException
LscServiceExceptionpublic String getId()
IXAWritableServicegetId in interface IXAWritableServicepublic String start() throws LscServiceInitializationException
IXAWritableServicestart in interface IXAWritableServiceLscServiceInitializationExceptionpublic void submit(String xid, LscModifications lm) throws LscServiceException
submit in interface IXAWritableServiceLscServiceExceptionpublic void commit(String xid) throws LscServiceException
commit in interface IXAWritableServiceLscServiceExceptionpublic void end(String xid) throws LscServiceException
end in interface IXAWritableServiceLscServiceExceptionpublic int prepare(String xid) throws LscServiceException
prepare in interface IXAWritableServiceLscServiceExceptionpublic void rollback(String xid) throws LscServiceException
rollback in interface IXAWritableServiceLscServiceExceptionpublic void setTransactionManager(TransactionManager xaTM)
setTransactionManager in interface IXAWritableServiceCopyright © 2005-2017 LSC project. All Rights Reserved.