Interface WSDiscoveryService

All Known Implementing Classes:
WSDiscoveryServiceImpl

public interface WSDiscoveryService
  • Method Summary

    Modifier and Type
    Method
    Description
    The 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.
    void
     
    void
    serverStarted(org.apache.cxf.endpoint.Server server)
    Utility methods to aid in calling the register/unregister for the appropriate CXF server
    void
    serverStopped(org.apache.cxf.endpoint.Server server)
     
    void
     
  • Method Details

    • register

      HelloType register(jakarta.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(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