org.apache.jackrabbit.rmi.remote
Interface RemoteXAResource

All Superinterfaces:
Remote
All Known Implementing Classes:
ServerXAResource

public interface RemoteXAResource
extends Remote

Remote version of the XAResource interface.

Since:
1.4

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.
 

Method Detail

commit

void commit(Xid xid,
            boolean onePhase)
            throws XAException,
                   RemoteException
Remote version of the XAResource.commit(Xid, boolean) method.

Throws:
XAException
RemoteException

end

void end(Xid xid,
         int flags)
         throws XAException,
                RemoteException
Remote version of the XAResource.end(Xid, int) method.

Throws:
XAException
RemoteException

forget

void forget(Xid xid)
            throws XAException,
                   RemoteException
Remote version of the XAResource.forget(Xid) method.

Throws:
XAException
RemoteException

getTransactionTimeout

int getTransactionTimeout()
                          throws XAException,
                                 RemoteException
Remote version of the XAResource.getTransactionTimeout() method.

Throws:
XAException
RemoteException

prepare

int prepare(Xid xid)
            throws XAException,
                   RemoteException
Remote version of the XAResource.prepare(Xid) method.

Throws:
XAException
RemoteException

recover

Xid[] recover(int flag)
              throws XAException,
                     RemoteException
Remote version of the XAResource.recover(int) method.

Throws:
XAException
RemoteException

rollback

void rollback(Xid xid)
              throws XAException,
                     RemoteException
Remote version of the XAResource.rollback(Xid) method.

Throws:
XAException
RemoteException

setTransactionTimeout

boolean setTransactionTimeout(int seconds)
                              throws XAException,
                                     RemoteException
Remote version of the XAResource.setTransactionTimeout(int) method.

Throws:
XAException
RemoteException

start

void start(Xid xid,
           int flags)
           throws XAException,
                  RemoteException
Remote version of the XAResource.start(Xid, int) method.

Throws:
XAException
RemoteException


Copyright © 2004-2008 The Apache Software Foundation. All Rights Reserved.