public class WSDiscoveryClient extends Object implements Closeable
Modifier and Type | Field and Description |
---|---|
static QName |
SERVICE_QNAME |
Constructor and Description |
---|
WSDiscoveryClient() |
WSDiscoveryClient(Bus b) |
WSDiscoveryClient(Bus b,
String address) |
WSDiscoveryClient(String address) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
protected void |
finalize() |
String |
getAddress() |
int |
getDefaultProbeTimeout() |
boolean |
isAdHoc() |
List<EndpointReference> |
probe() |
ProbeMatchesType |
probe(ProbeType params) |
ProbeMatchesType |
probe(ProbeType params,
int timeout) |
List<EndpointReference> |
probe(QName type) |
HelloType |
register(EndpointReference ert)
Sends the "Hello" to broadcast the availability of a service
|
HelloType |
register(HelloType hello)
Sends the "Hello" to broadcast the availability of a service
|
ResolveMatchType |
resolve(W3CEndpointReference ref) |
ResolveMatchType |
resolve(W3CEndpointReference ref,
int timeout) |
void |
setAddress(String a) |
void |
setDefaultProbeTimeout(int i) |
void |
setSoapVersion(boolean do11) |
void |
setSoapVersion11()
WS-Discovery will use SOAP 1.2 by default.
|
void |
setVersion(boolean version10) |
void |
setVersion10()
By default, CXF's WS-Discovery implementation is based on WS-Discovery 1.1.
|
void |
unregister(ByeType bye) |
void |
unregister(HelloType hello) |
public static final QName SERVICE_QNAME
public WSDiscoveryClient()
public WSDiscoveryClient(Bus b)
public WSDiscoveryClient(String address)
public void setDefaultProbeTimeout(int i)
public int getDefaultProbeTimeout()
public String getAddress()
public void setAddress(String a)
public void setVersion10()
public void setVersion(boolean version10)
public void setSoapVersion11()
do11
- public void setSoapVersion(boolean do11)
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
protected void finalize() throws Throwable
public HelloType register(HelloType hello)
hello
- public HelloType register(EndpointReference ert)
ert
- The endpoint reference of the Service itselfpublic void unregister(ByeType bye)
public void unregister(HelloType hello)
public List<EndpointReference> probe()
public List<EndpointReference> probe(QName type)
public ProbeMatchesType probe(ProbeType params)
public ProbeMatchesType probe(ProbeType params, int timeout)
public ResolveMatchType resolve(W3CEndpointReference ref)
public ResolveMatchType resolve(W3CEndpointReference ref, int timeout)
public boolean isAdHoc()
Apache CXF