Package org.apache.jackrabbit.jcr2spi
Interface XASession
- 
- All Superinterfaces:
- Session
 - All Known Implementing Classes:
- XASessionImpl
 
 public interface XASession extends Session TheXASessioninterface extends the capability ofSessionby adding access to a JCR repository's support for the Java Transaction API (JTA).This support takes the form of a javax.transaction.xa.XAResourceobject. The functionality of this object closely resembles that defined by the standard X/Open XA Resource interface.This interface is used by the transaction manager; an application does not use it directly. 
- 
- 
Field Summary- 
Fields inherited from interface javax.jcr.SessionACTION_ADD_NODE, ACTION_READ, ACTION_REMOVE, ACTION_SET_PROPERTY
 
- 
 - 
Method SummaryAll Methods Instance Methods Abstract 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 interface javax.jcr.SessionaddLockToken, 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- 
getXAResourceXAResource getXAResource() Retrieves anXAResourceobject that the transaction manager will use to manage thisXASessionobject's participation in a distributed transaction.- Returns:
- the XAResourceobject.
 
 
- 
 
-