org.apache.jackrabbit.rmi.server
Class ServerXASession

java.lang.Object
  extended by java.rmi.server.RemoteObject
      extended by java.rmi.server.RemoteServer
          extended by java.rmi.server.UnicastRemoteObject
              extended by org.apache.jackrabbit.rmi.server.ServerObject
                  extended by org.apache.jackrabbit.rmi.server.ServerSession
                      extended by org.apache.jackrabbit.rmi.server.ServerXASession
All Implemented Interfaces:
Serializable, Remote, RemoteSession, RemoteXASession

public class ServerXASession
extends ServerSession
implements RemoteXASession

Remote adapter for the Jackrabbit XASession interface.

Since:
1.4
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.rmi.server.RemoteObject
ref
 
Constructor Summary
ServerXASession(XASession session, RemoteAdapterFactory factory)
          Creates a remote adapter for the given local, transaction enabled, session.
 
Method Summary
 RemoteXAResource getXAResource()
          Remote version of the XASession.getXAResource() method.
 
Methods inherited from class org.apache.jackrabbit.rmi.server.ServerSession
addLockToken, checkPermission, exportDocumentView, exportSystemView, getAttribute, getAttributeNames, getItem, getLockTokens, getNamespacePrefix, getNamespacePrefixes, getNamespaceURI, getNodeByUUID, getRootNode, getUserID, getWorkspace, hasPendingChanges, impersonate, importXML, isLive, itemExists, logout, move, refresh, removeLockToken, save, setNamespacePrefix
 
Methods inherited from class org.apache.jackrabbit.rmi.server.ServerObject
getFactory, getRemoteItem, getRemoteNode, getRemoteNodeTypeArray, getRepositoryException
 
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, checkPermission, exportDocumentView, exportSystemView, getAttribute, getAttributeNames, getItem, getLockTokens, getNamespacePrefix, getNamespacePrefixes, getNamespaceURI, getNodeByUUID, getRootNode, getUserID, getWorkspace, hasPendingChanges, impersonate, importXML, isLive, itemExists, logout, move, refresh, removeLockToken, save, setNamespacePrefix
 

Constructor Detail

ServerXASession

public ServerXASession(XASession session,
                       RemoteAdapterFactory factory)
                throws RemoteException
Creates a remote adapter for the given local, transaction enabled, session.

Throws:
RemoteException
Method Detail

getXAResource

public RemoteXAResource getXAResource()
                               throws RemoteException
Description copied from interface: RemoteXASession
Remote version of the XASession.getXAResource() method.

Specified by:
getXAResource in interface RemoteXASession
Throws:
RemoteException


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