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 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 associatiated module.
| Methods inherited from class com.sun.xml.ws.transport.http.servlet.ServletModule |
getContextPath |
| Methods inherited from class com.sun.xml.ws.api.server.Module |
getSPI |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getServletModule
public static JAXWSServletModule getServletModule(java.lang.String contextPath)
addEndpoint
public void addEndpoint(java.lang.String uri,
com.sun.xml.ws.transport.http.servlet.ServletAdapter adapter)
getBoundEndpoints
@NotNull
public java.util.List<com.sun.xml.ws.api.server.BoundEndpoint> getBoundEndpoints()
- Specified by:
getBoundEndpoints in class com.sun.xml.ws.api.server.Module
getContextPath
@NotNull
public java.lang.String getContextPath()
- Specified by:
getContextPath in class com.sun.xml.ws.api.server.WebModule
Copyright © 2012 GlassFish Community. All Rights Reserved.