org.apache.jackrabbit.core
Interface XASession

All Superinterfaces:
Session
All Known Implementing Classes:
XASessionImpl

public interface XASession
extends Session

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 javax.transaction.xa.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.


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 interface javax.jcr.Session
addLockToken, checkPermission, exportDocumentView, exportDocumentView, exportSystemView, exportSystemView, getAttribute, getAttributeNames, getImportContentHandler, getItem, getLockTokens, getNamespacePrefix, getNamespacePrefixes, getNamespaceURI, getNodeByUUID, getRepository, getRootNode, getUserID, getValueFactory, getWorkspace, hasPendingChanges, impersonate, importXML, isLive, itemExists, logout, move, refresh, removeLockToken, save, setNamespacePrefix
 

Method Detail

getXAResource

public XAResource getXAResource()
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.


Copyright © 2004-2006 The Apache Software Foundation. All Rights Reserved.