| java.lang.Object com.sun.xml.ws.api.server.ServerPipelineHook
ServerPipelineHook | abstract public class ServerPipelineHook (Code) | | Allow the container (primarily Glassfish) to inject
their own pipes into the pipeline.
This interface has a rather ad-hoc set of methods, because
we didn't want to define an autonomous pipe-assembly process.
(We thought this is a smaller evil compared to that.)
JAX-WS obtains this through
Container.getSPI(Class) .
author: Kohsuke Kawaguchi |
Method Summary | |
public Pipe | createMonitoringPipe(ServerPipeAssemblerContext ctxt, Pipe tail) Called during the pipeline construction process once to allow a container
to register a pipe for monitoring.
This pipe will be injected to a point very close to the transport, allowing
it to measure the time it takes for processing as well as detecting errors.
Parameters: ctxt - Represents abstraction of SEI, WSDL abstraction etc. | public Pipe | createSecurityPipe(ServerPipeAssemblerContext ctxt, Pipe tail) Called during the pipeline construction process once to allow a container
to register a pipe for security.
This pipe will be injected to a point very close to the transport, allowing
it to do some security operations.
Parameters: ctxt - Represents abstraction of SEI, WSDL abstraction etc. |
createMonitoringPipe | public Pipe createMonitoringPipe(ServerPipeAssemblerContext ctxt, Pipe tail)(Code) | | Called during the pipeline construction process once to allow a container
to register a pipe for monitoring.
This pipe will be injected to a point very close to the transport, allowing
it to measure the time it takes for processing as well as detecting errors.
Parameters: ctxt - Represents abstraction of SEI, WSDL abstraction etc. Context can be usedwhether add a new pipe to the head or not. Parameters: tail - Head of the partially constructed pipeline. If the implementationwishes to add new pipes, it should do so by extendingAbstractFilterPipeImpl and making sure that this Pipeeventually processes messages.The default implementation just returns tail, which meansno additional pipe is inserted. If the implementation addsnew pipes, return the new head pipe. |
createSecurityPipe | public Pipe createSecurityPipe(ServerPipeAssemblerContext ctxt, Pipe tail)(Code) | | Called during the pipeline construction process once to allow a container
to register a pipe for security.
This pipe will be injected to a point very close to the transport, allowing
it to do some security operations.
Parameters: ctxt - Represents abstraction of SEI, WSDL abstraction etc. Context can be usedwhether add a new pipe to the head or not. Parameters: tail - Head of the partially constructed pipeline. If the implementationwishes to add new pipes, it should do so by extendingAbstractFilterPipeImpl and making sure that this Pipeeventually processes messages.The default implementation just returns tail, which meansno additional pipe is inserted. If the implementation addsnew pipes, return the new head pipe. |
|
|