org.apache.cxf.ws.discovery.internal
Class WSDiscoveryServiceImpl
java.lang.Object
org.apache.cxf.ws.discovery.internal.WSDiscoveryServiceImpl
- All Implemented Interfaces:
- WSDiscoveryService
public class WSDiscoveryServiceImpl
- extends Object
- implements WSDiscoveryService
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WSDiscoveryServiceImpl
public WSDiscoveryServiceImpl(Bus b)
WSDiscoveryServiceImpl
public WSDiscoveryServiceImpl()
WSDiscoveryServiceImpl
public WSDiscoveryServiceImpl(Bus b,
Map<String,Object> props)
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