org.apache.jackrabbit.jcr2spi
Class XASessionImpl

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

public class XASessionImpl
extends SessionImpl
implements XASession

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


Field Summary
 
Fields inherited from interface javax.jcr.Session
ACTION_ADD_NODE, ACTION_READ, ACTION_REMOVE, ACTION_SET_PROPERTY
 
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, getAccessControlManager, getAccessManager, getAttribute, getAttributeNames, getEffectiveNodeTypeProvider, getHierarchyManager, getIdFactory, getImportContentHandler, getItem, getItemDefinitionProvider, getJcrValueFactory, getLockStateManager, getLockTokens, getNameFactory, getNamePathResolver, getNameResolver, getNamespaceResolver, getNode, getNodeByIdentifier, getNodeByUUID, getNodeTypeDefinitionProvider, getPathResolver, getPrefix, getProperty, getQValueFactory, getRepository, getRetentionManager, getRootNode, getURI, getUserID, getValidator, getValueFactory, getVersionStateManager, getWorkspace, hasCapability, hasPendingChanges, hasPermission, impersonate, importXML, isLive, itemExists, logout, move, nodeExists, propertyExists, refresh, removeItem, removeListener, removeLockToken, save, setNamespacePrefix
 
Methods inherited from class org.apache.jackrabbit.commons.AbstractSession
exportDocumentView, exportDocumentView, exportSystemView, exportSystemView, getNamespacePrefix, getNamespacePrefixes, getNamespaceURI
 
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, getAccessControlManager, getAttribute, getAttributeNames, getImportContentHandler, getItem, getLockTokens, getNamespacePrefix, getNamespacePrefixes, getNamespaceURI, getNode, getNodeByIdentifier, getNodeByUUID, getProperty, getRepository, getRetentionManager, getRootNode, getUserID, getValueFactory, getWorkspace, hasCapability, hasPendingChanges, hasPermission, impersonate, importXML, isLive, itemExists, logout, move, nodeExists, propertyExists, refresh, removeItem, 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-2010 The Apache Software Foundation. All Rights Reserved.