public class UserBusinessActivityImple extends UserBusinessActivity
ATOMIC_OUTCOME, MIXED_OUTCOME
Constructor and Description |
---|
UserBusinessActivityImple() |
Modifier and Type | Method and Description |
---|---|
void |
begin()
Start a new business activity with atomic outcome.
|
void |
begin(int timeout)
Start a new BA with atomic outcome and the specified timeout as
its lifetime.
|
void |
beginSubordinate(int timeout) |
void |
cancel()
If the BA must undo its work then the cancel method is used.
|
void |
close()
The BA is normally terminated by the close method.
|
void |
complete()
If participants have registered for the BusinessAgreementWithComplete
protocol then they will be expecting the application to inform them
when all work intended for them has been sent (and responded to).
|
UserBusinessActivity |
getUserSubordinateBusinessActivity()
get the user subordinate business activity
this is a UserBusinessActivity whose begin method will create an interposed BA transaction
|
String |
toString() |
String |
transactionIdentifier() |
getUserBusinessActivity, setUserBusinessActivity
public UserBusinessActivity getUserSubordinateBusinessActivity()
UserBusinessActivity
getUserSubordinateBusinessActivity
in class UserBusinessActivity
public void begin() throws WrongStateException, SystemException
UserBusinessActivity
begin
in class UserBusinessActivity
WrongStateException
SystemException
public void begin(int timeout) throws WrongStateException, SystemException
UserBusinessActivity
begin
in class UserBusinessActivity
WrongStateException
SystemException
public void close() throws TransactionRolledBackException, UnknownTransactionException, SystemException, WrongStateException
UserBusinessActivity
close
in class UserBusinessActivity
TransactionRolledBackException
UnknownTransactionException
SystemException
WrongStateException
public void cancel() throws UnknownTransactionException, SystemException, WrongStateException
UserBusinessActivity
cancel
in class UserBusinessActivity
UnknownTransactionException
SystemException
WrongStateException
public void complete() throws UnknownTransactionException, SystemException, WrongStateException
UserBusinessActivity
complete
in class UserBusinessActivity
UnknownTransactionException
SystemException
WrongStateException
public String transactionIdentifier()
transactionIdentifier
in class UserBusinessActivity
public void beginSubordinate(int timeout) throws WrongStateException, SystemException
WrongStateException
SystemException
Copyright © 2017 JBoss by Red Hat. All rights reserved.