Package org.apache.jackrabbit.rmi.remote
Interface RemoteXASession
-
- All Superinterfaces:
Remote
,RemoteSession
- All Known Implementing Classes:
ServerXASession
@Deprecated(forRemoval=true) public interface RemoteXASession extends RemoteSession, Remote
Deprecated, for removal: This API element is subject to removal in a future version.RMI support is deprecated and will be removed in a future version of Jackrabbit; see Jira ticket JCR-4972 for more information.Remote version of the
XASession
interface.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description void
commit(Xid xid, boolean onePhase)
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theXAResource.commit(Xid, boolean)
method.void
end(Xid xid, int flags)
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theXAResource.end(Xid, int)
method.void
forget(Xid xid)
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theXAResource.forget(Xid)
method.int
getTransactionTimeout()
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theXAResource.getTransactionTimeout()
method.int
prepare(Xid xid)
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theXAResource.prepare(Xid)
method.Xid[]
recover(int flag)
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theXAResource.recover(int)
method.void
rollback(Xid xid)
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theXAResource.rollback(Xid)
method.boolean
setTransactionTimeout(int seconds)
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theXAResource.setTransactionTimeout(int)
method.void
start(Xid xid, int flags)
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theXAResource.start(Xid, int)
method.-
Methods inherited from interface org.apache.jackrabbit.rmi.remote.RemoteSession
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
-
-
-
-
Method Detail
-
commit
void commit(Xid xid, boolean onePhase) throws XAException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theXAResource.commit(Xid, boolean)
method.- Throws:
XAException
RemoteException
-
end
void end(Xid xid, int flags) throws XAException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theXAResource.end(Xid, int)
method.- Throws:
XAException
RemoteException
-
forget
void forget(Xid xid) throws XAException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theXAResource.forget(Xid)
method.- Throws:
XAException
RemoteException
-
getTransactionTimeout
int getTransactionTimeout() throws XAException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theXAResource.getTransactionTimeout()
method.- Throws:
XAException
RemoteException
-
prepare
int prepare(Xid xid) throws XAException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theXAResource.prepare(Xid)
method.- Throws:
XAException
RemoteException
-
recover
Xid[] recover(int flag) throws XAException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theXAResource.recover(int)
method.- Throws:
XAException
RemoteException
-
rollback
void rollback(Xid xid) throws XAException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theXAResource.rollback(Xid)
method.- Throws:
XAException
RemoteException
-
setTransactionTimeout
boolean setTransactionTimeout(int seconds) throws XAException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theXAResource.setTransactionTimeout(int)
method.- Throws:
XAException
RemoteException
-
start
void start(Xid xid, int flags) throws XAException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theXAResource.start(Xid, int)
method.- Throws:
XAException
RemoteException
-
-