org.apache.jackrabbit.rmi.remote
Interface RemoteXASession

All Superinterfaces:
java.rmi.Remote, RemoteSession
All Known Implementing Classes:
ServerXASession

public interface RemoteXASession
extends RemoteSession, java.rmi.Remote

Remote version of the org.apache.jackrabbit.api.XASession interface.


Method Summary
 void commit(javax.transaction.xa.Xid xid, boolean onePhase)
          Remote version of the XAResource.commit(Xid, boolean) method.
 void end(javax.transaction.xa.Xid xid, int flags)
          Remote version of the XAResource.end(Xid, int) method.
 void forget(javax.transaction.xa.Xid xid)
          Remote version of the XAResource.forget(Xid) method.
 int getTransactionTimeout()
          Remote version of the XAResource.getTransactionTimeout() method.
 int prepare(javax.transaction.xa.Xid xid)
          Remote version of the XAResource.prepare(Xid) method.
 javax.transaction.xa.Xid[] recover(int flag)
          Remote version of the XAResource.recover(int) method.
 void rollback(javax.transaction.xa.Xid xid)
          Remote version of the XAResource.rollback(Xid) method.
 boolean setTransactionTimeout(int seconds)
          Remote version of the XAResource.setTransactionTimeout(int) method.
 void start(javax.transaction.xa.Xid xid, int flags)
          Remote version of the XAResource.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(javax.transaction.xa.Xid xid,
            boolean onePhase)
            throws javax.transaction.xa.XAException,
                   java.rmi.RemoteException
Remote version of the XAResource.commit(Xid, boolean) method.

Throws:
javax.transaction.xa.XAException
java.rmi.RemoteException

end

void end(javax.transaction.xa.Xid xid,
         int flags)
         throws javax.transaction.xa.XAException,
                java.rmi.RemoteException
Remote version of the XAResource.end(Xid, int) method.

Throws:
javax.transaction.xa.XAException
java.rmi.RemoteException

forget

void forget(javax.transaction.xa.Xid xid)
            throws javax.transaction.xa.XAException,
                   java.rmi.RemoteException
Remote version of the XAResource.forget(Xid) method.

Throws:
javax.transaction.xa.XAException
java.rmi.RemoteException

getTransactionTimeout

int getTransactionTimeout()
                          throws javax.transaction.xa.XAException,
                                 java.rmi.RemoteException
Remote version of the XAResource.getTransactionTimeout() method.

Throws:
javax.transaction.xa.XAException
java.rmi.RemoteException

prepare

int prepare(javax.transaction.xa.Xid xid)
            throws javax.transaction.xa.XAException,
                   java.rmi.RemoteException
Remote version of the XAResource.prepare(Xid) method.

Throws:
javax.transaction.xa.XAException
java.rmi.RemoteException

recover

javax.transaction.xa.Xid[] recover(int flag)
                                   throws javax.transaction.xa.XAException,
                                          java.rmi.RemoteException
Remote version of the XAResource.recover(int) method.

Throws:
javax.transaction.xa.XAException
java.rmi.RemoteException

rollback

void rollback(javax.transaction.xa.Xid xid)
              throws javax.transaction.xa.XAException,
                     java.rmi.RemoteException
Remote version of the XAResource.rollback(Xid) method.

Throws:
javax.transaction.xa.XAException
java.rmi.RemoteException

setTransactionTimeout

boolean setTransactionTimeout(int seconds)
                              throws javax.transaction.xa.XAException,
                                     java.rmi.RemoteException
Remote version of the XAResource.setTransactionTimeout(int) method.

Throws:
javax.transaction.xa.XAException
java.rmi.RemoteException

start

void start(javax.transaction.xa.Xid xid,
           int flags)
           throws javax.transaction.xa.XAException,
                  java.rmi.RemoteException
Remote version of the XAResource.start(Xid, int) method.

Throws:
javax.transaction.xa.XAException
java.rmi.RemoteException


Copyright © 2004-2010 Apache Software Foundation. All Rights Reserved.