|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.rmi.server.RemoteObject
java.rmi.server.RemoteServer
java.rmi.server.UnicastRemoteObject
org.apache.jackrabbit.rmi.server.ServerObject
org.apache.jackrabbit.rmi.server.ServerSession
org.apache.jackrabbit.rmi.server.ServerXASession
public class ServerXASession
Remote adapter for XA-enabled sessions.
Field Summary |
---|
Fields inherited from class java.rmi.server.RemoteObject |
---|
ref |
Constructor Summary | |
---|---|
ServerXASession(Session session,
XAResource resource,
RemoteAdapterFactory factory)
Creates a remote adapter for the given local, transaction enabled, session. |
Method Summary | |
---|---|
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. |
Methods inherited from class org.apache.jackrabbit.rmi.server.ServerSession |
---|
addLockToken, exportDocumentView, exportSystemView, 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 |
Methods inherited from class org.apache.jackrabbit.rmi.server.ServerObject |
---|
getFactory, getRemoteItem, getRemoteNode, getRemoteNodeTypeArray, getRepositoryException, getSerialValue, getSerialValues |
Methods inherited from class java.rmi.server.UnicastRemoteObject |
---|
clone, exportObject, exportObject, exportObject, unexportObject |
Methods inherited from class java.rmi.server.RemoteServer |
---|
getClientHost, getLog, setLog |
Methods inherited from class java.rmi.server.RemoteObject |
---|
equals, getRef, hashCode, toString, toStub |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.apache.jackrabbit.rmi.remote.RemoteSession |
---|
addLockToken, exportDocumentView, exportSystemView, 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 |
Constructor Detail |
---|
public ServerXASession(Session session, XAResource resource, RemoteAdapterFactory factory) throws RemoteException
RemoteException
Method Detail |
---|
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |