Class JAXWSServletModule

  • All Implemented Interfaces:
    com.sun.xml.ws.api.Component

    public class JAXWSServletModule
    extends com.sun.xml.ws.transport.http.servlet.ServletModule
    Implementation of JAX-WS ServletModule SPI used by WSIT WS-MetadataExchange.

    In the current JSR 109 design, each endpoint has a unique JAXWSContainer. On the other hand, the requirements imposed by WSIT WS-MetadataExchange require that all endpoints sharing a context root share a ServletMoule.

    Therefore, in general, multiple JAXWSContainers will share a JAXWSServletModule, so JAXWSContainer must use a lookup in the static JAXWSServletModule.modules to find its associated module.

    • Method Detail

      • destroy

        public static void destroy​(String contextPath)
      • addEndpoint

        public void addEndpoint​(String uri,
                                com.sun.xml.ws.transport.http.servlet.ServletAdapter adapter)
      • getBoundEndpoints

        @NotNull
        public List<com.sun.xml.ws.api.server.BoundEndpoint> getBoundEndpoints()
        Specified by:
        getBoundEndpoints in class com.sun.xml.ws.api.server.Module
      • getContextPath

        @NotNull
        public String getContextPath()
        Specified by:
        getContextPath in class com.sun.xml.ws.api.server.WebModule