com.arjuna.wst11
Interface BAParticipantManager

All Known Implementing Classes:
BACoordinatorCompletionParticipantManagerStub, BAParticipantCompletionParticipantManagerStub

public interface BAParticipantManager

When a Business Activity participant registers with a BA transaction it gets a reference to the transaction coordinator that lets it callback into the transaction and drive the state-transition. One instance of this per transaction.

Since:
XTS 1.0.
Version:
$Id: BAParticipantManager.java,v 1.5 2004/09/09 08:48:33 kconner Exp $
Author:
Mark Little (mark.little@arjuna.com)

Method Summary
 void cannotComplete()
          Cannot complete.
 void completed()
          The participant has completed it works, but wishes to continue in the business activity, so that it will eventually be told when (and how) the activity terminates.
 void exit()
          The participant has exited the business activity.
 void fail(QName exceptionIdentifier)
          Fault.
 

Method Detail

exit

void exit()
          throws WrongStateException,
                 UnknownTransactionException,
                 SystemException
The participant has exited the business activity. The participant uses this to inform the coordinator that is has left the activity. It will not be informed when (and how) the business activity terminates.

Throws:
WrongStateException
UnknownTransactionException
SystemException

completed

void completed()
               throws WrongStateException,
                      UnknownTransactionException,
                      SystemException
The participant has completed it works, but wishes to continue in the business activity, so that it will eventually be told when (and how) the activity terminates. The participant may later be asked to compensate for the work it has done.

Throws:
WrongStateException
UnknownTransactionException
SystemException

cannotComplete

void cannotComplete()
                    throws WrongStateException,
                           UnknownTransactionException,
                           SystemException
Cannot complete.

Throws:
WrongStateException
UnknownTransactionException
SystemException

fail

void fail(QName exceptionIdentifier)
          throws SystemException
Fault.

Throws:
SystemException


Copyright © 2012. All Rights Reserved.