Package org.apache.cxf.ws.discovery
Interface WSDiscoveryService
- All Known Implementing Classes:
WSDiscoveryServiceImpl
public interface WSDiscoveryService
-
Method Summary
Modifier and TypeMethodDescriptionThe service requires a WSDiscoveryClient in order to interact with a DiscoveryProxy, send Hello/Bye/etc..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) voidunregister(HelloType ht)
-
Method Details
-
register
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
-
unregister
-
serverStarted
void serverStarted(org.apache.cxf.endpoint.Server server) Utility methods to aid in calling the register/unregister for the appropriate CXF server- Parameters:
server-
-
serverStopped
void serverStopped(org.apache.cxf.endpoint.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
-