Class WSDiscoveryServiceImpl
- java.lang.Object
-
- org.apache.cxf.ws.discovery.internal.WSDiscoveryServiceImpl
-
- All Implemented Interfaces:
WSDiscoveryService
public class WSDiscoveryServiceImpl extends Object implements WSDiscoveryService
-
-
Constructor Summary
Constructors Constructor Description WSDiscoveryServiceImpl()WSDiscoveryServiceImpl(Bus b)WSDiscoveryServiceImpl(Bus b, Map<String,Object> props)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WSDiscoveryClientgetClient()The service requires a WSDiscoveryClient in order to interact with a DiscoveryProxy, send Hello/Bye/etc..ProbeMatchesTypehandleProbe(ProbeType pt)HelloTyperegister(javax.xml.ws.EndpointReference ref)Registers the given EndpointReference with the service.voidregister(HelloType ht)voidserverStarted(Server server)Utility methods to aid in calling the register/unregister for the appropriate CXF servervoidserverStopped(Server server)voidstartup()booleanstartup(boolean optional)voidunregister(HelloType ht)voidupdate(Map<String,Object> props)
-
-
-
Method Detail
-
getClient
public WSDiscoveryClient getClient()
Description copied from interface:WSDiscoveryServiceThe service requires a WSDiscoveryClient in order to interact with a DiscoveryProxy, send Hello/Bye/etc..- Specified by:
getClientin interfaceWSDiscoveryService- Returns:
- the client being used
-
register
public HelloType register(javax.xml.ws.EndpointReference ref)
Description copied from interface:WSDiscoveryServiceRegisters the given EndpointReference with the service. Also sends the UDP "Hello"- Specified by:
registerin interfaceWSDiscoveryService- Returns:
- the HelloType that was sent so it can be used to call unregister
-
register
public void register(HelloType ht)
- Specified by:
registerin interfaceWSDiscoveryService
-
serverStarted
public void serverStarted(Server server)
Description copied from interface:WSDiscoveryServiceUtility methods to aid in calling the register/unregister for the appropriate CXF server- Specified by:
serverStartedin interfaceWSDiscoveryService
-
serverStopped
public void serverStopped(Server server)
- Specified by:
serverStoppedin interfaceWSDiscoveryService
-
unregister
public void unregister(HelloType ht)
- Specified by:
unregisterin interfaceWSDiscoveryService
-
startup
public void startup()
-
startup
public boolean startup(boolean optional)
-
handleProbe
public ProbeMatchesType handleProbe(ProbeType pt)
-
-