Package com.arjuna.wst11.stub
Class BACoordinatorCompletionParticipantManagerStub
java.lang.Object
com.arjuna.wst11.stub.BACoordinatorCompletionParticipantManagerStub
- All Implemented Interfaces:
BAParticipantManager
public class BACoordinatorCompletionParticipantManagerStub
extends Object
implements BAParticipantManager
-
Constructor Summary
ConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionvoid
Cannot complete.void
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
Fault.
-
Constructor Details
-
BACoordinatorCompletionParticipantManagerStub
public BACoordinatorCompletionParticipantManagerStub(CoordinatorCompletionParticipantEngine coordinator) throws Exception - Throws:
Exception
-
-
Method Details
-
exit
Description copied from interface:BAParticipantManager
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.- Specified by:
exit
in interfaceBAParticipantManager
- Throws:
WrongStateException
UnknownTransactionException
SystemException
-
completed
Description copied from interface:BAParticipantManager
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.- Specified by:
completed
in interfaceBAParticipantManager
- Throws:
WrongStateException
UnknownTransactionException
SystemException
-
cannotComplete
public void cannotComplete() throws WrongStateException, UnknownTransactionException, SystemExceptionDescription copied from interface:BAParticipantManager
Cannot complete.- Specified by:
cannotComplete
in interfaceBAParticipantManager
- Throws:
WrongStateException
UnknownTransactionException
SystemException
-
fail
Description copied from interface:BAParticipantManager
Fault.- Specified by:
fail
in interfaceBAParticipantManager
- Throws:
SystemException
-