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, setStatuspublic MapXAResource.MapTransactionalResource(javax.transaction.xa.Xid xid,
TransactionalMapWrapper map,
LoggerFacade loggerFacade)
public void commit()
throws javax.transaction.xa.XAException
TransactionalResourcejavax.transaction.xa.XAException - when anything goes wrong the error must be described in XA
notationpublic void rollback()
throws javax.transaction.xa.XAException
TransactionalResourcejavax.transaction.xa.XAException - when anything goes wrong the error must be described in XA
notationpublic int prepare()
throws javax.transaction.xa.XAException
TransactionalResourceXAResource.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.XAExceptionpublic void resume()
throws javax.transaction.xa.XAException
javax.transaction.xa.XAExceptionpublic void begin()
throws javax.transaction.xa.XAException
javax.transaction.xa.XAExceptionCopyright ? 2004 The Apache Software Foundation. All Rights Reserved.