Package org.glassfish.webservices
Class JAXWSServletModule
- java.lang.Object
-
- com.sun.xml.ws.api.server.Module
-
- com.sun.xml.ws.api.server.WebModule
-
- com.sun.xml.ws.transport.http.servlet.ServletModule
-
- org.glassfish.webservices.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 Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addEndpoint(String uri, com.sun.xml.ws.transport.http.servlet.ServletAdapter adapter)
static void
destroy(String contextPath)
List<com.sun.xml.ws.api.server.BoundEndpoint>
getBoundEndpoints()
String
getContextPath()
static JAXWSServletModule
getServletModule(String contextPath)
-
-
-
Method Detail
-
getServletModule
public static JAXWSServletModule getServletModule(String contextPath)
-
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 classcom.sun.xml.ws.api.server.Module
-
getContextPath
@NotNull public String getContextPath()
- Specified by:
getContextPath
in classcom.sun.xml.ws.api.server.WebModule
-
-