|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AgreementAcceptanceClient
When a pending agreement is created, the agreement initiator may specify an acceptance endpoint that is
notified on the agreement responders decision, namely the acceptance or rejection of the offer. The
AgreementAcceptanceClient
defines the Java API for an acceptance service.
Field Summary | |
---|---|
static ClientLocator<AgreementAcceptanceClient> |
FACTORY
Default builder. |
Method Summary | |
---|---|
void |
accept()
Sends an accept notification to the initiator. |
void |
destroy()
Destroys the acceptance instance. |
void |
reject()
Sends an reject notification to the initiator. |
Field Detail |
---|
static final ClientLocator<AgreementAcceptanceClient> FACTORY
Method Detail |
---|
void accept() throws ResourceUnknownException, ResourceUnavailableException
ResourceUnknownException
- the referenced resource is not known
ResourceUnavailableException
- the referenced resource is unavailablevoid reject() throws ResourceUnknownException, ResourceUnavailableException
ResourceUnknownException
- the referenced resource is not known
ResourceUnavailableException
- the referenced resource is unavailablevoid destroy() throws ResourceUnknownException, ResourceUnavailableException
ResourceUnknownException
- the remote resource is unknown
ResourceUnavailableException
- the remote resource is unavailable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |