public class ServerXASession extends ServerSession implements RemoteXASession
ref| Constructor and Description |
|---|
ServerXASession(Session session,
XAResource resource,
RemoteAdapterFactory factory)
Creates a remote adapter for the given local, transaction enabled,
session.
|
| Modifier and Type | Method and Description |
|---|---|
void |
commit(Xid xid,
boolean onePhase)
Remote version of the
XAResource.commit(Xid, boolean) method. |
void |
end(Xid xid,
int flags)
Remote version of the
XAResource.end(Xid, int) method. |
void |
forget(Xid xid)
Remote version of the
XAResource.forget(Xid) method. |
int |
getTransactionTimeout()
Remote version of the
XAResource.getTransactionTimeout() method. |
int |
prepare(Xid xid)
Remote version of the
XAResource.prepare(Xid) method. |
Xid[] |
recover(int flag)
Remote version of the
XAResource.recover(int) method. |
void |
rollback(Xid xid)
Remote version of the
XAResource.rollback(Xid) method. |
boolean |
setTransactionTimeout(int seconds)
Remote version of the
XAResource.setTransactionTimeout(int) method. |
void |
start(Xid xid,
int flags)
Remote version of the
XAResource.start(Xid, int) method. |
addLockToken, exportDocumentView, exportSystemView, getAccessControlManager, getAttribute, getAttributeNames, getItem, getLockTokens, getNamespacePrefix, getNamespacePrefixes, getNamespaceURI, getNode, getNodeByIdentifier, getNodeByUUID, getProperty, getRootNode, getUserID, getWorkspace, hasPendingChanges, hasPermission, impersonate, importXML, isLive, itemExists, logout, move, nodeExists, propertyExists, refresh, removeItem, removeLockToken, save, setNamespacePrefixgetFactory, getRemoteItem, getRemoteNode, getRemoteNodeTypeArray, getRepositoryException, getSerialValue, getSerialValuesclone, exportObject, exportObject, exportObject, unexportObjectgetClientHost, getLog, setLogequals, getRef, hashCode, toString, toStubfinalize, getClass, notify, notifyAll, wait, wait, waitaddLockToken, exportDocumentView, exportSystemView, getAccessControlManager, getAttribute, getAttributeNames, getItem, getLockTokens, getNamespacePrefix, getNamespacePrefixes, getNamespaceURI, getNode, getNodeByIdentifier, getNodeByUUID, getProperty, getRootNode, getUserID, getWorkspace, hasPendingChanges, hasPermission, impersonate, importXML, isLive, itemExists, logout, move, nodeExists, propertyExists, refresh, removeItem, removeLockToken, save, setNamespacePrefixpublic ServerXASession(Session session, XAResource resource, RemoteAdapterFactory factory) throws RemoteException
RemoteExceptionpublic void commit(Xid xid, boolean onePhase) throws XAException
RemoteXASessionXAResource.commit(Xid, boolean) method.commit in interface RemoteXASessionXAExceptionpublic void end(Xid xid, int flags) throws XAException
RemoteXASessionXAResource.end(Xid, int) method.end in interface RemoteXASessionXAExceptionpublic void forget(Xid xid) throws XAException
RemoteXASessionXAResource.forget(Xid) method.forget in interface RemoteXASessionXAExceptionpublic int getTransactionTimeout()
throws XAException
RemoteXASessionXAResource.getTransactionTimeout() method.getTransactionTimeout in interface RemoteXASessionXAExceptionpublic int prepare(Xid xid) throws XAException
RemoteXASessionXAResource.prepare(Xid) method.prepare in interface RemoteXASessionXAExceptionpublic Xid[] recover(int flag) throws XAException
RemoteXASessionXAResource.recover(int) method.recover in interface RemoteXASessionXAExceptionpublic void rollback(Xid xid) throws XAException
RemoteXASessionXAResource.rollback(Xid) method.rollback in interface RemoteXASessionXAExceptionpublic boolean setTransactionTimeout(int seconds)
throws XAException
RemoteXASessionXAResource.setTransactionTimeout(int) method.setTransactionTimeout in interface RemoteXASessionXAExceptionpublic void start(Xid xid, int flags) throws XAException
RemoteXASessionXAResource.start(Xid, int) method.start in interface RemoteXASessionXAExceptionCopyright © 2004–2021 The Apache Software Foundation. All rights reserved.