Apache CXF API

org.apache.cxf.ws.discovery
Interface WSDiscoveryService

All Known Implementing Classes:
WSDiscoveryServiceImpl

public interface WSDiscoveryService


Method Summary
 WSDiscoveryClient getClient()
          The service requires a WSDiscoveryClient in order to interact with a DiscoveryProxy, send Hello/Bye/etc..
 HelloType register(EndpointReference ref)
          Registers the given EndpointReference with the service.
 void register(HelloType ht)
           
 void serverStarted(Server server)
          Utility methods to aid in calling the register/unregister for the appropriate CXF server
 void serverStopped(Server server)
           
 void unregister(HelloType ht)
           
 

Method Detail

register

HelloType register(EndpointReference ref)
Registers the given EndpointReference with the service. Also sends the UDP "Hello"

Parameters:
ref -
Returns:
the HelloType that was sent so it can be used to call unregister

register

void register(HelloType ht)

unregister

void unregister(HelloType ht)

serverStarted

void serverStarted(Server server)
Utility methods to aid in calling the register/unregister for the appropriate CXF server

Parameters:
server -

serverStopped

void serverStopped(Server server)

getClient

WSDiscoveryClient getClient()
The service requires a WSDiscoveryClient in order to interact with a DiscoveryProxy, send Hello/Bye/etc..

Returns:
the client being used

Apache CXF API

Apache CXF