org.apache.jackrabbit.rmi.client
Class ClientXASession

java.lang.Object
  extended by org.apache.jackrabbit.rmi.client.ClientObject
      extended by org.apache.jackrabbit.rmi.client.ClientSession
          extended by org.apache.jackrabbit.rmi.client.ClientXASession
All Implemented Interfaces:
Session, XASession

public class ClientXASession
extends ClientSession
implements XASession

Local adapter for the JCR-RMI RemoteXASession interface.

Since:
1.4

Constructor Summary
ClientXASession(Repository repository, RemoteXASession remote, LocalAdapterFactory factory)
          Creates a client adapter for the given remote session which is transaction enabled.
 
Method Summary
 XAResource getXAResource()
          Retrieves an XAResource object that the transaction manager will use to manage this XASession object's participation in a distributed transaction.
 
Methods inherited from class org.apache.jackrabbit.rmi.client.ClientSession
addLockToken, checkPermission, exportDocumentView, exportDocumentView, exportSystemView, exportSystemView, getAttribute, getAttributeNames, getImportContentHandler, getItem, getLockTokens, getNamespacePrefix, getNamespacePrefixes, getNamespaceURI, getNodeByUUID, getRepository, getRootNode, getUserID, getValueFactory, getWorkspace, hasPendingChanges, impersonate, importXML, isLive, itemExists, logout, move, refresh, removeLockToken, save, setNamespacePrefix
 
Methods inherited from class org.apache.jackrabbit.rmi.client.ClientObject
getFactory, getItem, getNode, getNodeTypeArray
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.jcr.Session
addLockToken, checkPermission, exportDocumentView, exportDocumentView, exportSystemView, exportSystemView, getAttribute, getAttributeNames, getImportContentHandler, getItem, getLockTokens, getNamespacePrefix, getNamespacePrefixes, getNamespaceURI, getNodeByUUID, getRepository, getRootNode, getUserID, getValueFactory, getWorkspace, hasPendingChanges, impersonate, importXML, isLive, itemExists, logout, move, refresh, removeLockToken, save, setNamespacePrefix
 

Constructor Detail

ClientXASession

public ClientXASession(Repository repository,
                       RemoteXASession remote,
                       LocalAdapterFactory factory)
Creates a client adapter for the given remote session which is transaction enabled.

Method Detail

getXAResource

public XAResource getXAResource()
Description copied from interface: XASession
Retrieves an XAResource object that the transaction manager will use to manage this XASession object's participation in a distributed transaction.

Specified by:
getXAResource in interface XASession
Returns:
the XAResource object.


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