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, setNamespacePrefix
getFactory, getRemoteItem, getRemoteNode, getRemoteNodeTypeArray, getRepositoryException, getSerialValue, getSerialValues
clone, exportObject, exportObject, exportObject, unexportObject
getClientHost, getLog, setLog
equals, getRef, hashCode, toString, toStub
finalize, getClass, notify, notifyAll, wait, wait, wait
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, setNamespacePrefix
public ServerXASession(Session session, XAResource resource, RemoteAdapterFactory factory) throws RemoteException
RemoteException
public void commit(Xid xid, boolean onePhase) throws XAException
RemoteXASession
XAResource.commit(Xid, boolean)
method.commit
in interface RemoteXASession
XAException
public void end(Xid xid, int flags) throws XAException
RemoteXASession
XAResource.end(Xid, int)
method.end
in interface RemoteXASession
XAException
public void forget(Xid xid) throws XAException
RemoteXASession
XAResource.forget(Xid)
method.forget
in interface RemoteXASession
XAException
public int getTransactionTimeout() throws XAException
RemoteXASession
XAResource.getTransactionTimeout()
method.getTransactionTimeout
in interface RemoteXASession
XAException
public int prepare(Xid xid) throws XAException
RemoteXASession
XAResource.prepare(Xid)
method.prepare
in interface RemoteXASession
XAException
public Xid[] recover(int flag) throws XAException
RemoteXASession
XAResource.recover(int)
method.recover
in interface RemoteXASession
XAException
public void rollback(Xid xid) throws XAException
RemoteXASession
XAResource.rollback(Xid)
method.rollback
in interface RemoteXASession
XAException
public boolean setTransactionTimeout(int seconds) throws XAException
RemoteXASession
XAResource.setTransactionTimeout(int)
method.setTransactionTimeout
in interface RemoteXASession
XAException
public void start(Xid xid, int flags) throws XAException
RemoteXASession
XAResource.start(Xid, int)
method.start
in interface RemoteXASession
XAException
Copyright © 2004–2021 The Apache Software Foundation. All rights reserved.