Class EndpointImpl

java.lang.Object
javax.xml.ws.Endpoint
com.sun.xml.ws.transport.http.server.EndpointImpl

public class EndpointImpl extends javax.xml.ws.Endpoint
Implements Endpoint. This class accumulates the information necessary to create WSEndpoint, and then when publish(java.lang.String) method is called it will be created. This object also allows accumulated information to be retrieved.
Author:
Jitendra Kotamraju
  • Constructor Details

    • EndpointImpl

      public EndpointImpl(@NotNull BindingID bindingId, @NotNull Object impl, javax.xml.ws.WebServiceFeature... features)
    • EndpointImpl

      public EndpointImpl(@NotNull BindingID bindingId, @NotNull Class implClass, javax.xml.ws.spi.Invoker invoker, javax.xml.ws.WebServiceFeature... features)
    • EndpointImpl

      public EndpointImpl(WSEndpoint wse, Object serverContext)
      Deprecated.
      This is a backdoor method. Don't use it unless you know what you are doing.
      Wraps an already created WSEndpoint into an EndpointImpl, and immediately publishes it with the given context.
      Parameters:
      wse - created endpoint
      serverContext - supported http context
    • EndpointImpl

      public EndpointImpl(WSEndpoint wse, Object serverContext, javax.xml.ws.EndpointContext ctxt)
      Deprecated.
      This is a backdoor method. Don't use it unless you know what you are doing.
      Wraps an already created WSEndpoint into an EndpointImpl, and immediately publishes it with the given context.
      Parameters:
      wse - created endpoint
      serverContext - supported http context
      ctxt - endpoint context
    • EndpointImpl

      public EndpointImpl(WSEndpoint wse, String address)
      Deprecated.
      This is a backdoor method. Don't use it unless you know what you are doing.
      Wraps an already created WSEndpoint into an EndpointImpl, and immediately publishes it with the given context.
      Parameters:
      wse - created endpoint
      address - endpoint address
    • EndpointImpl

      public EndpointImpl(WSEndpoint wse, String address, javax.xml.ws.EndpointContext ctxt)
      Deprecated.
      This is a backdoor method. Don't use it unless you know what you are doing.
      Wraps an already created WSEndpoint into an EndpointImpl, and immediately publishes it with the given context.
      Parameters:
      wse - created endpoint
      address - endpoint address
      ctxt - endpoint context
  • Method Details

    • getBinding

      public javax.xml.ws.Binding getBinding()
      Specified by:
      getBinding in class javax.xml.ws.Endpoint
    • getImplementor

      public Object getImplementor()
      Specified by:
      getImplementor in class javax.xml.ws.Endpoint
    • publish

      public void publish(String address)
      Specified by:
      publish in class javax.xml.ws.Endpoint
    • publish

      public void publish(Object serverContext)
      Specified by:
      publish in class javax.xml.ws.Endpoint
    • publish

      public void publish(javax.xml.ws.spi.http.HttpContext serverContext)
      Overrides:
      publish in class javax.xml.ws.Endpoint
    • stop

      public void stop()
      Specified by:
      stop in class javax.xml.ws.Endpoint
    • isPublished

      public boolean isPublished()
      Specified by:
      isPublished in class javax.xml.ws.Endpoint
    • getMetadata

      public List<Source> getMetadata()
      Specified by:
      getMetadata in class javax.xml.ws.Endpoint
    • setMetadata

      public void setMetadata(List<Source> metadata)
      Specified by:
      setMetadata in class javax.xml.ws.Endpoint
    • getExecutor

      public Executor getExecutor()
      Specified by:
      getExecutor in class javax.xml.ws.Endpoint
    • setExecutor

      public void setExecutor(Executor executor)
      Specified by:
      setExecutor in class javax.xml.ws.Endpoint
    • getProperties

      public Map<String,Object> getProperties()
      Specified by:
      getProperties in class javax.xml.ws.Endpoint
    • setProperties

      public void setProperties(Map<String,Object> map)
      Specified by:
      setProperties in class javax.xml.ws.Endpoint
    • getEndpointReference

      public javax.xml.ws.EndpointReference getEndpointReference(Element... referenceParameters)
      Specified by:
      getEndpointReference in class javax.xml.ws.Endpoint
    • getEndpointReference

      public <T extends javax.xml.ws.EndpointReference> T getEndpointReference(Class<T> clazz, Element... referenceParameters)
      Specified by:
      getEndpointReference in class javax.xml.ws.Endpoint
    • setEndpointContext

      public void setEndpointContext(javax.xml.ws.EndpointContext ctxt)
      Overrides:
      setEndpointContext in class javax.xml.ws.Endpoint