Local adapter for the JCR-RMI
RemoteXASession
interface.
@Deprecated public class ClientXASession extends ClientSession implements XAResource
TMENDRSCAN, TMFAIL, TMJOIN, TMNOFLAGS, TMONEPHASE, TMRESUME, TMSTARTRSCAN, TMSUCCESS, TMSUSPEND, XA_OK, XA_RDONLYACTION_ADD_NODE, ACTION_READ, ACTION_REMOVE, ACTION_SET_PROPERTY| Constructor and Description |
|---|
ClientXASession(Repository repository,
RemoteXASession remote,
LocalAdapterFactory factory)
Deprecated.
Creates a client adapter for the given remote session which is
transaction enabled.
|
| Modifier and Type | Method and Description |
|---|---|
void |
commit(Xid xid,
boolean onePhase)
Deprecated.
|
void |
end(Xid xid,
int flags)
Deprecated.
|
void |
forget(Xid xid)
Deprecated.
|
int |
getTransactionTimeout()
Deprecated.
|
boolean |
isSameRM(XAResource xares)
Deprecated.
Returns
true if the given object is a local
adapter that refers to the same remote XA resource. |
int |
prepare(Xid xid)
Deprecated.
|
Xid[] |
recover(int flag)
Deprecated.
|
void |
rollback(Xid xid)
Deprecated.
|
boolean |
setTransactionTimeout(int seconds)
Deprecated.
|
void |
start(Xid xid,
int flags)
Deprecated.
|
addLockToken, checkPermission, exportDocumentView, exportDocumentView, exportSystemView, exportSystemView, getAccessControlManager, getAttribute, getAttributeNames, getImportContentHandler, getItem, getLockTokens, getNamespacePrefix, getNamespacePrefixes, getNamespaceURI, getNode, getNodeByIdentifier, getNodeByUUID, getProperty, getRepository, getRetentionManager, getRootNode, getUserID, getValueFactory, getWorkspace, hasCapability, hasPendingChanges, hasPermission, impersonate, importXML, isLive, itemExists, logout, move, nodeExists, propertyExists, refresh, removeItem, removeLockToken, save, setNamespacePrefixgetFactory, getItem, getNode, getNodeTypeArraypublic ClientXASession(Repository repository, RemoteXASession remote, LocalAdapterFactory factory)
public boolean isSameRM(XAResource xares) throws XAException
true if the given object is a local
adapter that refers to the same remote XA resource.isSameRM in interface XAResourceXAExceptionpublic void commit(Xid xid, boolean onePhase) throws XAException
commit in interface XAResourceXAExceptionpublic void end(Xid xid, int flags) throws XAException
end in interface XAResourceXAExceptionpublic void forget(Xid xid) throws XAException
forget in interface XAResourceXAExceptionpublic int getTransactionTimeout()
throws XAException
getTransactionTimeout in interface XAResourceXAExceptionpublic int prepare(Xid xid) throws XAException
prepare in interface XAResourceXAExceptionpublic Xid[] recover(int flag) throws XAException
recover in interface XAResourceXAExceptionpublic void rollback(Xid xid) throws XAException
rollback in interface XAResourceXAExceptionpublic boolean setTransactionTimeout(int seconds)
throws XAException
setTransactionTimeout in interface XAResourceXAExceptionpublic void start(Xid xid, int flags) throws XAException
start in interface XAResourceXAExceptionCopyright © 2004–2024 The Apache Software Foundation. All rights reserved.