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