Package com.sun.xml.ws.assembler.metro
Class ServerPipelineHook
java.lang.Object
com.sun.xml.ws.api.server.ServerPipelineHook
com.sun.xml.ws.assembler.metro.ServerPipelineHook
- Direct Known Subclasses:
ServerPipeCreator
public class ServerPipelineHook
extends com.sun.xml.ws.api.server.ServerPipelineHook
- Author:
- Arun Gupta
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.sun.xml.ws.api.pipe.PipecreateSecurityPipe(com.sun.xml.ws.policy.PolicyMap policyMap, com.sun.xml.ws.api.model.SEIModel seiModel, com.sun.xml.ws.api.model.wsdl.WSDLPort wsdlModel, com.sun.xml.ws.api.server.WSEndpoint owner, com.sun.xml.ws.api.pipe.Pipe tail) Called during the server-side pipeline construction process once to allow a container to register a pipe for security on the service endpoint.com.sun.xml.ws.api.pipe.TubecreateSecurityTube(com.sun.xml.ws.assembler.dev.ServerTubelineAssemblyContext context) Called during the server-side tubeline construction process once to allow a container to register a tube for security on the service endpoint.Methods inherited from class com.sun.xml.ws.api.server.ServerPipelineHook
createMonitoringPipe, createSecurityPipe
-
Constructor Details
-
ServerPipelineHook
public ServerPipelineHook()Default constructor.
-
-
Method Details
-
createSecurityPipe
@NotNull public com.sun.xml.ws.api.pipe.Pipe createSecurityPipe(@Nullable com.sun.xml.ws.policy.PolicyMap policyMap, @Nullable com.sun.xml.ws.api.model.SEIModel seiModel, @Nullable com.sun.xml.ws.api.model.wsdl.WSDLPort wsdlModel, @NotNull com.sun.xml.ws.api.server.WSEndpoint owner, @NotNull com.sun.xml.ws.api.pipe.Pipe tail) Called during the server-side pipeline construction process once to allow a container to register a pipe for security on the service endpoint. This pipe will be injected to a point very close to the transport, allowing it to do some security operations.- Parameters:
policyMap-PolicyMapholding policies for a scopeseiModel- abstraction of server-side SEIwsdlModel- abstraction of wsdl:portowner- instance of deployed servicetail- Head of the partially constructed pipeline. If the implementation wishes to add new pipes, it should do so by extendingAbstractFilterPipeImpland making sure that thisPipeeventually processes messages.- Returns:
- The default implementation just returns
tail, which means no additional pipe is inserted. If the implementation adds new pipes, return the new head pipe.
-
createSecurityTube
@NotNull public com.sun.xml.ws.api.pipe.Tube createSecurityTube(com.sun.xml.ws.assembler.dev.ServerTubelineAssemblyContext context) Called during the server-side tubeline construction process once to allow a container to register a tube for security on the service endpoint. This tube will be injected to a point very close to the transport, allowing it to do some security operations.If the implementation wishes to add new tubes, it should do so by extending
AbstractFilterTubeImpland making sure that thisTubeeventually processes messages.- Parameters:
context- Represents abstraction of policy map, tubeline head, SEI, WSDL abstraction etc. Context can be used whether add a new tube to the head or not.- Returns:
- The default implementation just returns
tail, which means no additional tube is inserted. If the implementation adds new tubes, return the new head tube.
-