public abstract class ServerPipelineHook extends Object
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)
.
Constructor and Description |
---|
ServerPipelineHook() |
Modifier and Type | Method and Description |
---|---|
Pipe |
createMonitoringPipe(ServerPipeAssemblerContext ctxt,
Pipe tail)
Called during the pipeline construction process once to allow a container
to register a pipe for monitoring.
|
Pipe |
createSecurityPipe(ServerPipeAssemblerContext ctxt,
Pipe tail)
Called during the pipeline construction process once to allow a container
to register a pipe for security.
|
@NotNull public Pipe createMonitoringPipe(ServerPipeAssemblerContext ctxt, @NotNull Pipe tail)
ctxt
- Represents abstraction of SEI, WSDL abstraction etc. Context can be used
whether add a new pipe to the head or not.tail
- Head of the partially constructed pipeline. If the implementation
wishes to add new pipes, it should do so by extending
AbstractFilterPipeImpl
and making sure that this Pipe
eventually processes messages.@NotNull public Pipe createSecurityPipe(ServerPipeAssemblerContext ctxt, @NotNull Pipe tail)
ctxt
- Represents abstraction of SEI, WSDL abstraction etc. Context can be used
whether add a new pipe to the head or not.tail
- Head of the partially constructed pipeline. If the implementation
wishes to add new pipes, it should do so by extending
AbstractFilterPipeImpl
and making sure that this Pipe
eventually processes messages.Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.