|
||||||||||
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.ServerXAResource
public class ServerXAResource
Remote adapter for the XAResource
interface.
Field Summary |
---|
Fields inherited from class java.rmi.server.RemoteObject |
---|
ref |
Constructor Summary | |
---|---|
ServerXAResource(XAResource resource)
Creates a remote adapter for the given local XA resource. |
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 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 |
Constructor Detail |
---|
public ServerXAResource(XAResource resource) throws RemoteException
RemoteException
Method Detail |
---|
public void commit(Xid xid, boolean onePhase) throws XAException
RemoteXAResource
XAResource.commit(Xid, boolean)
method.
commit
in interface RemoteXAResource
XAException
public void end(Xid xid, int flags) throws XAException
RemoteXAResource
XAResource.end(Xid, int)
method.
end
in interface RemoteXAResource
XAException
public void forget(Xid xid) throws XAException
RemoteXAResource
XAResource.forget(Xid)
method.
forget
in interface RemoteXAResource
XAException
public int getTransactionTimeout() throws XAException
RemoteXAResource
XAResource.getTransactionTimeout()
method.
getTransactionTimeout
in interface RemoteXAResource
XAException
public int prepare(Xid xid) throws XAException
RemoteXAResource
XAResource.prepare(Xid)
method.
prepare
in interface RemoteXAResource
XAException
public Xid[] recover(int flag) throws XAException
RemoteXAResource
XAResource.recover(int)
method.
recover
in interface RemoteXAResource
XAException
public void rollback(Xid xid) throws XAException
RemoteXAResource
XAResource.rollback(Xid)
method.
rollback
in interface RemoteXAResource
XAException
public boolean setTransactionTimeout(int seconds) throws XAException
RemoteXAResource
XAResource.setTransactionTimeout(int)
method.
setTransactionTimeout
in interface RemoteXAResource
XAException
public void start(Xid xid, int flags) throws XAException
RemoteXAResource
XAResource.start(Xid, int)
method.
start
in interface RemoteXAResource
XAException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |