Often technologies that are built on top of JAX-WS (such as Tango) needs to negotiate private contracts between them and the container. This interface allows such technologies to query the negotiated SPI by using the {@link #getSPI(Class)}.
For example, if a security pipe needs to get some information from a container, they can do the following:
This protects JAX-WS from worrying about the details of such contracts, while still providing the necessary service of hooking up those parties.
Technologies that run inside JAX-WS server runtime can access this object through {@link WSEndpoint#getContainer()}. In the client runtime, it can be accessed from {@link ContainerResolver#getContainer()} @author Kohsuke Kawaguchi @see WSEndpoint
|
|