Package org.apache.jackrabbit.jcr2spi
Class XASessionImpl
- java.lang.Object
-
- org.apache.jackrabbit.commons.AbstractSession
-
- org.apache.jackrabbit.jcr2spi.SessionImpl
-
- org.apache.jackrabbit.jcr2spi.XASessionImpl
-
- All Implemented Interfaces:
Session,ManagerProvider,XASession,NamespaceResolver
public class XASessionImpl extends SessionImpl implements XASession
XASessionImplextends the regular session implementation with access to theXAResource.
-
-
Field Summary
-
Fields inherited from interface javax.jcr.Session
ACTION_ADD_NODE, ACTION_READ, ACTION_REMOVE, ACTION_SET_PROPERTY
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description XAResourcegetXAResource()Retrieves anXAResourceobject that the transaction manager will use to manage thisXASessionobject's participation in a distributed transaction.-
Methods inherited from class org.apache.jackrabbit.jcr2spi.SessionImpl
addListener, addLockToken, checkPermission, createItemManager, createSessionItemStateManager, createWorkspaceInstance, getAccessControlManager, getAccessControlProvider, 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:XASessionRetrieves anXAResourceobject that the transaction manager will use to manage thisXASessionobject's participation in a distributed transaction.- Specified by:
getXAResourcein interfaceXASession- Returns:
- the
XAResourceobject. - See Also:
XASession.getXAResource()
-
-