Apache CXF API

org.apache.cxf.ws.discovery.internal
Class WSDiscoveryServiceImpl

java.lang.Object
  extended by org.apache.cxf.ws.discovery.internal.WSDiscoveryServiceImpl
All Implemented Interfaces:
WSDiscoveryService

public class WSDiscoveryServiceImpl
extends Object
implements WSDiscoveryService


Constructor Summary
WSDiscoveryServiceImpl()
           
WSDiscoveryServiceImpl(Bus b)
           
WSDiscoveryServiceImpl(Bus b, Map<String,Object> props)
           
 
Method Summary
 WSDiscoveryClient getClient()
          The service requires a WSDiscoveryClient in order to interact with a DiscoveryProxy, send Hello/Bye/etc..
 ProbeMatchesType handleProbe(ProbeType pt)
           
 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 startup()
           
 boolean startup(boolean optional)
           
 void unregister(HelloType ht)
           
 void update(Map<String,Object> props)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WSDiscoveryServiceImpl

public WSDiscoveryServiceImpl(Bus b)

WSDiscoveryServiceImpl

public WSDiscoveryServiceImpl()

WSDiscoveryServiceImpl

public WSDiscoveryServiceImpl(Bus b,
                              Map<String,Object> props)
Method Detail

update

public final void update(Map<String,Object> props)

getClient

public WSDiscoveryClient getClient()
Description copied from interface: WSDiscoveryService
The service requires a WSDiscoveryClient in order to interact with a DiscoveryProxy, send Hello/Bye/etc..

Specified by:
getClient in interface WSDiscoveryService
Returns:
the client being used

register

public HelloType register(EndpointReference ref)
Description copied from interface: WSDiscoveryService
Registers the given EndpointReference with the service. Also sends the UDP "Hello"

Specified by:
register in interface WSDiscoveryService
Returns:
the HelloType that was sent so it can be used to call unregister

register

public void register(HelloType ht)
Specified by:
register in interface WSDiscoveryService

serverStarted

public void serverStarted(Server server)
Description copied from interface: WSDiscoveryService
Utility methods to aid in calling the register/unregister for the appropriate CXF server

Specified by:
serverStarted in interface WSDiscoveryService

serverStopped

public void serverStopped(Server server)
Specified by:
serverStopped in interface WSDiscoveryService

unregister

public void unregister(HelloType ht)
Specified by:
unregister in interface WSDiscoveryService

startup

public void startup()

startup

public boolean startup(boolean optional)

handleProbe

public ProbeMatchesType handleProbe(ProbeType pt)

Apache CXF API

Apache CXF