Class WSDiscoveryServiceImpl
java.lang.Object
org.apache.cxf.ws.discovery.internal.WSDiscoveryServiceImpl
- All Implemented Interfaces:
WSDiscoveryService
-
Constructor Summary
ConstructorsConstructorDescriptionWSDiscoveryServiceImpl(org.apache.cxf.Bus b) WSDiscoveryServiceImpl(org.apache.cxf.Bus b, Map<String, Object> props) -
Method Summary
Modifier and TypeMethodDescriptionThe service requires a WSDiscoveryClient in order to interact with a DiscoveryProxy, send Hello/Bye/etc..handleProbe(ProbeType pt) register(jakarta.xml.ws.EndpointReference ref) Registers the given EndpointReference with the service.voidvoidserverStarted(org.apache.cxf.endpoint.Server server) Utility methods to aid in calling the register/unregister for the appropriate CXF servervoidserverStopped(org.apache.cxf.endpoint.Server server) voidstartup()booleanstartup(boolean optional) voidunregister(HelloType ht) final void
-
Constructor Details
-
WSDiscoveryServiceImpl
public WSDiscoveryServiceImpl(org.apache.cxf.Bus b) -
WSDiscoveryServiceImpl
public WSDiscoveryServiceImpl() -
WSDiscoveryServiceImpl
-
-
Method Details
-
update
-
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
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
- Specified by:
registerin interfaceWSDiscoveryService
-
serverStarted
public void serverStarted(org.apache.cxf.endpoint.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(org.apache.cxf.endpoint.Server server) - Specified by:
serverStoppedin interfaceWSDiscoveryService
-
unregister
- Specified by:
unregisterin interfaceWSDiscoveryService
-
startup
public void startup() -
startup
public boolean startup(boolean optional) -
handleProbe
-