public class BusinessActivityTerminatorImple extends Object implements BusinessActivityTerminator
Constructor and Description |
---|
BusinessActivityTerminatorImple()
create a business activity terminator for use on the server side with an empty participant endpoint
which gets set at registration time
|
Modifier and Type | Method and Description |
---|---|
void |
cancel() |
void |
close() |
void |
complete()
Complete doesn't mean go away, it just means that all work you need to
accomplish the commit/rollback has been received.
|
W3CEndpointReference |
getEndpoint()
retrieve the participant endpoint associated with this business activity terminator
|
void |
setEndpoint(W3CEndpointReference participantEndpoint)
update the business activity terminator with an endpoint supplied at registration time
|
public BusinessActivityTerminatorImple() throws SystemException
SystemException
public void close() throws TransactionRolledBackException, UnknownTransactionException, SystemException
close
in interface BusinessActivityTerminator
TransactionRolledBackException
UnknownTransactionException
SystemException
public void cancel() throws UnknownTransactionException, SystemException
cancel
in interface BusinessActivityTerminator
UnknownTransactionException
SystemException
public void complete() throws UnknownTransactionException, SystemException
complete
in interface BusinessActivityTerminator
UnknownTransactionException
SystemException
public void setEndpoint(W3CEndpointReference participantEndpoint)
participantEndpoint
- public W3CEndpointReference getEndpoint()
Copyright © 2016 JBoss by Red Hat. All rights reserved.