|
||||||||||
| 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, 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 |
| 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, 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 |
| Constructor Detail |
|---|
public ServerXASession(Session session,
XAResource resource,
RemoteAdapterFactory factory)
throws RemoteException
RemoteException| Method Detail |
|---|
public void commit(Xid xid,
boolean onePhase)
throws XAException
RemoteXASessionXAResource.commit(Xid, boolean) method.
commit in interface RemoteXASessionXAException
public void end(Xid xid,
int flags)
throws XAException
RemoteXASessionXAResource.end(Xid, int) method.
end in interface RemoteXASessionXAException
public void forget(Xid xid)
throws XAException
RemoteXASessionXAResource.forget(Xid) method.
forget in interface RemoteXASessionXAException
public int getTransactionTimeout()
throws XAException
RemoteXASessionXAResource.getTransactionTimeout() method.
getTransactionTimeout in interface RemoteXASessionXAException
public int prepare(Xid xid)
throws XAException
RemoteXASessionXAResource.prepare(Xid) method.
prepare in interface RemoteXASessionXAException
public Xid[] recover(int flag)
throws XAException
RemoteXASessionXAResource.recover(int) method.
recover in interface RemoteXASessionXAException
public void rollback(Xid xid)
throws XAException
RemoteXASessionXAResource.rollback(Xid) method.
rollback in interface RemoteXASessionXAException
public boolean setTransactionTimeout(int seconds)
throws XAException
RemoteXASessionXAResource.setTransactionTimeout(int) method.
setTransactionTimeout in interface RemoteXASessionXAException
public void start(Xid xid,
int flags)
throws XAException
RemoteXASessionXAResource.start(Xid, int) method.
start in interface RemoteXASessionXAException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||