Class EndpointImpl

  • All Implemented Interfaces:
    Endpoint
    Direct Known Subclasses:
    JAXWSEndpointImpl

    public class EndpointImpl
    extends Object
    implements Endpoint
    Implementation of the endpoint interface
    Author:
    Jerome Dochez
    • Method Detail

      • getEndpointSelector

        public String getEndpointSelector()
        Specified by:
        getEndpointSelector in interface Endpoint
        Returns:
        the endpoint URL as a string. This is the URL web service clients use to invoke the endpoint.
      • addListener

        public void addListener​(MessageListener newListener)
        registers a new SOAPMessageListener for this endpoint
        Specified by:
        addListener in interface Endpoint
        Parameters:
        newListener - instance to register.
      • removeListener

        public void removeListener​(MessageListener listener)
        unregiters a SOAPMessageListener for this endpoint
        Specified by:
        removeListener in interface Endpoint
        Parameters:
        listener - instance to unregister.
      • hasListeners

        public boolean hasListeners()
        Returns true if this endpoint has listeners registered
        Returns:
        true if at least one listener is registered
      • setDescriptor

        public void setDescriptor​(WebServiceEndpoint endpointDesc)
        Set the WebServiceEndpoint DOL descriptor