com.sun.xml.ws.transport.http.servlet
Class ServletContainer
java.lang.Object
com.sun.xml.ws.api.server.Container
com.sun.xml.ws.transport.http.servlet.ServletContainer
- All Implemented Interfaces:
- Component, ComponentEx, ComponentRegistry
class ServletContainer
- extends Container
Provides access to ServletContext
via Container
. Pipes
can get ServletContext from Container and use it to load some resources.
Fields inherited from class com.sun.xml.ws.api.server.Container |
NONE |
Constructor Summary |
ServletContainer(javax.servlet.ServletContext servletContext)
|
Method Summary |
|
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 |
ServletContainer
ServletContainer(javax.servlet.ServletContext servletContext)
getSPI
public <T> T getSPI(Class<T> spiType)
- Description copied from interface:
Component
- Gets the specified SPI.
This method works as a kind of directory service
for SPIs, allowing various components to define private contract
and talk to each other.
- Specified by:
getSPI
in interface Component
- Overrides:
getSPI
in class Container
- Returns:
- null if such an SPI is not provided by this object.
Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.