com.sun.xml.ws.transport.http.servlet
Class ServletContainer

java.lang.Object
  extended by com.sun.xml.ws.api.server.Container
      extended by com.sun.xml.ws.transport.http.servlet.ServletContainer

 class ServletContainer
extends Container

Provides access to ServletContext via Container. Pipes can get ServletContext from Container and use it to load some resources.


Field Summary
 
Fields inherited from class com.sun.xml.ws.api.server.Container
NONE
 
Constructor Summary
ServletContainer(javax.servlet.ServletContext servletContext)
           
 
Method Summary
<T> T
getSPI(Class<T> spiType)
          Gets the specified SPI.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServletContainer

ServletContainer(javax.servlet.ServletContext servletContext)
Method Detail

getSPI

public <T> T getSPI(Class<T> spiType)
Description copied from class: Container
Gets the specified SPI.

This method works as a kind of directory service for SPIs between technologies on top of JAX-WS and the container.

Specified by:
getSPI in class Container
Parameters:
spiType - Always non-null.
Returns:
null if such an SPI is not implemented by this container.