org.apache.jackrabbit.jcr2spi
Class XASessionImpl

java.lang.Object
  extended by org.apache.jackrabbit.jcr2spi.SessionImpl
      extended by org.apache.jackrabbit.jcr2spi.XASessionImpl
All Implemented Interfaces:
Session, ManagerProvider, XASession

public class XASessionImpl
extends SessionImpl
implements XASession

XASessionImpl extends the regular session implementation with access to the XAResource.


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.jcr2spi.SessionImpl
addListener, addLockToken, checkPermission, createItemManager, createSessionItemStateManager, createWorkspaceInstance, exportDocumentView, exportDocumentView, exportSystemView, exportSystemView, getAccessManager, getAttribute, getAttributeNames, getEffectiveNodeTypeProvider, getHierarchyManager, getIdFactory, getImportContentHandler, getItem, getItemDefinitionProvider, getJcrValueFactory, getLockManager, getLockTokens, getNameFactory, getNamePathResolver, getNameResolver, getNamespacePrefix, getNamespacePrefixes, getNamespaceResolver, getNamespaceURI, getNodeByUUID, getPathResolver, getQValueFactory, getRepository, getRootNode, getUserID, getValidator, getValueFactory, getVersionManager, getWorkspace, hasPendingChanges, impersonate, importXML, isLive, itemExists, logout, move, refresh, removeListener, removeLockToken, save, setNamespacePrefix
 
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
 

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.
See Also:
XASession.getXAResource()


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