|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ogf.graap.wsag.client.wsrf.WsrfAgreementAcceptanceClient
public class WsrfAgreementAcceptanceClient
Default implementation of an agreement acceptance client.
Field Summary |
---|
Fields inherited from interface org.ogf.graap.wsag.client.api.AgreementAcceptanceClient |
---|
FACTORY |
Constructor Summary | |
---|---|
WsrfAgreementAcceptanceClient(EndpointReferenceType epr,
Properties properties,
ISecurityProperties securityProperties)
Creates a new acceptance client for the given acceptance EPR. |
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WsrfAgreementAcceptanceClient(EndpointReferenceType epr, Properties properties, ISecurityProperties securityProperties)
epr
- the acceptance EPRproperties
- client propertiessecurityProperties
- the client security propertiesMethod Detail |
---|
public void accept() throws ResourceUnknownException, ResourceUnavailableException
accept
in interface AgreementAcceptanceClient
ResourceUnknownException
- the referenced resource is not known
ResourceUnavailableException
- the referenced resource is unavailablepublic void reject() throws ResourceUnknownException, ResourceUnavailableException
reject
in interface AgreementAcceptanceClient
ResourceUnknownException
- the referenced resource is not known
ResourceUnavailableException
- the referenced resource is unavailablepublic void destroy() throws ResourceUnavailableException
AgreementAcceptanceClient
destroy
in interface AgreementAcceptanceClient
ResourceUnavailableException
- the remote resource is unavailable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |