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
XASessionImpl
extends 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 XAResource
getXAResource()
Retrieves anXAResource
object that the transaction manager will use to manage thisXASession
object'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:XASession
Retrieves anXAResource
object that the transaction manager will use to manage thisXASession
object's participation in a distributed transaction.- Specified by:
getXAResource
in interfaceXASession
- Returns:
- the
XAResource
object. - See Also:
XASession.getXAResource()
-
-