|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ogf.graap.wsag.wsrf.impl.RemoteAgreementAcceptanceClientImpl
public class RemoteAgreementAcceptanceClientImpl
Default implementation of an agreement acceptance client.
Constructor Summary | |
---|---|
RemoteAgreementAcceptanceClientImpl(EndpointReferenceType epr,
ISecurityProperties securityProperties)
Creates a new acceptance client for the given acceptance EPR. |
Method Summary | |
---|---|
void |
accept()
Sends an accept notification to the initiator. |
EndpointReferenceType |
getEndpoint()
Returns the endpoint of the client instance. |
Properties |
getProperties()
Returns the properties used by the web-service client. |
ISecurityProperties |
getSecurityProperties()
Returns the security properties used by the web-service client. |
boolean |
isUsingTrace()
Determines whether or not a client prints the web-service messages to the console. |
void |
reject()
Sends an reject notification to the initiator. |
void |
setProperties(Properties properties)
Sets the properties used for the web-service client. |
void |
setTrace(boolean trace)
Sets the clients trace mode. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RemoteAgreementAcceptanceClientImpl(EndpointReferenceType epr, ISecurityProperties securityProperties)
epr
- the acceptance EPRsecurityProperties
- 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 EndpointReferenceType getEndpoint()
getEndpoint
in interface WsClient
public Properties getProperties()
getProperties
in interface WsClient
public ISecurityProperties getSecurityProperties()
getSecurityProperties
in interface WsClient
public boolean isUsingTrace()
isUsingTrace
in interface WsClient
public void setProperties(Properties properties)
setProperties
in interface WsClient
properties
- Sets the properties for this clientpublic void setTrace(boolean trace)
setTrace
in interface WsClient
trace
- true, if the web service client should traces incoming/outgoing messages.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |