org.exolab.castor.persist
Interface XAResourceSource
public interface XAResourceSource
A data source that wishes to particiate as an XA resource
implements this interface. The source then returns an
XAResourceImpl
which controls the transaction of this source
through this interface.
$Revision: 1.1.1.1 $ $Date: 2003/03/03 07:08:50 $
createTransactionContext
public TransactionContext createTransactionContext(Xid xid)
Called by
XAResourceImpl
to produce a new transaction context
implementation suitable for this data source.
getTransactionContext
public TransactionContext getTransactionContext()
Returns the transaction context associated with this source.
setTransactionContext
public void setTransactionContext(TransactionContext tx)
Sets the transaction context associated with this source.
xaFailed
public void xaFailed()
Indicate that the resource has failed and should be discarded.
Intalio Inc. (C) 1999-2003. All rights reserved http://www.intalio.com