|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ogf.graap.wsag.client.api.RemoteClient
public class RemoteClient
Interface of a remote client. A remote client encapsulates the client object used for communicating with the server application. Different remote technologies can be supported, i.e. REST (HTTP) or SOAP based services.
Constructor Summary | |
---|---|
RemoteClient(EndpointReferenceType reference)
Constructs a new remote client with the given reference. |
|
RemoteClient(EndpointReferenceType reference,
Properties properties,
ISecurityProperties securityProperties)
Constructs a new remote client with the given properties and reference. |
|
RemoteClient(String reference)
Constructs a new remote client with the given remote reference. |
|
RemoteClient(String reference,
Properties properties,
ISecurityProperties securityProperties)
Constructs a new remote client with the given properties and reference. |
Method Summary | |
---|---|
Properties |
getProperties()
Returns the properties used by the web-service client. |
EndpointReferenceType |
getRemoteReference()
Returns the endpoint of the client instance. |
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 |
setProperties(Properties properties)
Sets the properties used for the web-service client. |
void |
setSecurityProperties(ISecurityProperties securityProperties)
Sets the security properties used by 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 RemoteClient(EndpointReferenceType reference)
reference
- the remote referencepublic RemoteClient(String reference)
reference
- the remote referencepublic RemoteClient(EndpointReferenceType reference, Properties properties, ISecurityProperties securityProperties)
reference
- the remote referenceproperties
- the client propertiessecurityProperties
- the security properties associated with the remote clientpublic RemoteClient(String reference, Properties properties, ISecurityProperties securityProperties)
reference
- the remote referenceproperties
- the client propertiessecurityProperties
- the security properties associated with the remote clientMethod Detail |
---|
public ISecurityProperties getSecurityProperties()
public void setSecurityProperties(ISecurityProperties securityProperties)
securityProperties
- the security properties for this clientpublic Properties getProperties()
public void setProperties(Properties properties)
properties
- Sets the properties for this clientpublic EndpointReferenceType getRemoteReference()
public boolean isUsingTrace()
public void setTrace(boolean trace)
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 |