Interface XASession

  • All Superinterfaces:
    javax.jcr.Session
    All Known Subinterfaces:
    CRXSession

    @ProviderType
    public interface XASession
    extends javax.jcr.Session
    Deprecated.
    An XA-enabled session should directly implement the XAResource interface
    The XASession interface extends the capability of Session by adding access to a JCR repository's support for the Java Transaction API (JTA).

    This support takes the form of a XAResource object. 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.

    Since:
    1.4
    • 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 Abstract Methods Deprecated Methods 
      Modifier and Type Method Description
      javax.transaction.xa.XAResource getXAResource()
      Deprecated.
      Retrieves an XAResource object that the transaction manager will use to manage this XASession object's participation in a distributed transaction.
      • 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

        javax.transaction.xa.XAResource getXAResource()
        Deprecated.
        Retrieves an XAResource object that the transaction manager will use to manage this XASession object's participation in a distributed transaction.
        Returns:
        the XAResource object.