protected static class MapXAResource.MapTransactionalResource extends AbstractTransactionalResource
status, xid
Constructor and Description |
---|
MapXAResource.MapTransactionalResource(javax.transaction.xa.Xid xid,
TransactionalMapWrapper map,
LoggerFacade loggerFacade) |
Modifier and Type | Method and Description |
---|---|
void |
begin() |
void |
commit()
Commits the changes done inside this transaction reasource.
|
int |
prepare()
Prepares the changes done inside this transaction reasource.
|
void |
resume() |
void |
rollback()
Rolls back the changes done inside this transaction reasource.
|
void |
suspend() |
getStatus, getXid, setStatus
public MapXAResource.MapTransactionalResource(javax.transaction.xa.Xid xid, TransactionalMapWrapper map, LoggerFacade loggerFacade)
public void commit() throws javax.transaction.xa.XAException
TransactionalResource
javax.transaction.xa.XAException
- when anything goes wrong the error must be described in XA
notationpublic void rollback() throws javax.transaction.xa.XAException
TransactionalResource
javax.transaction.xa.XAException
- when anything goes wrong the error must be described in XA
notationpublic int prepare() throws javax.transaction.xa.XAException
TransactionalResource
XAResource.prepare(Xid)
.javax.transaction.xa.XAException
- when anything goes wrong the error must be described in XA
notationpublic void suspend() throws javax.transaction.xa.XAException
javax.transaction.xa.XAException
public void resume() throws javax.transaction.xa.XAException
javax.transaction.xa.XAException
public void begin() throws javax.transaction.xa.XAException
javax.transaction.xa.XAException
Copyright ? 2004 The Apache Software Foundation. All Rights Reserved.