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, getRequestsNameForUpdate
apply, getWriteDatasetIds
fillAttributesMap, getAttributesMap, getAttributesMap, getBean, getBean, getListPivots, getValue
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
apply, getWriteDatasetIds
getBean, getListPivots
public XAJdbcDstService(TaskType task) throws LscServiceException
LscServiceException
public String getId()
IXAWritableService
getId
in interface IXAWritableService
public String start() throws LscServiceInitializationException
IXAWritableService
start
in interface IXAWritableService
LscServiceInitializationException
public void submit(String xid, LscModifications lm) throws LscServiceException
submit
in interface IXAWritableService
LscServiceException
public void commit(String xid) throws LscServiceException
commit
in interface IXAWritableService
LscServiceException
public void end(String xid) throws LscServiceException
end
in interface IXAWritableService
LscServiceException
public int prepare(String xid) throws LscServiceException
prepare
in interface IXAWritableService
LscServiceException
public void rollback(String xid) throws LscServiceException
rollback
in interface IXAWritableService
LscServiceException
public void setTransactionManager(TransactionManager xaTM)
setTransactionManager
in interface IXAWritableService
Copyright © 2005-2024 LSC project. All Rights Reserved.