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 ServerPipelineHook
Author:
Arun Gupta
  • Constructor Details

    • ServerPipelineHook

      public ServerPipelineHook()
      Default constructor.
  • Method Details

    • createSecurityPipe

      @NotNull public Pipe createSecurityPipe(@Nullable PolicyMap policyMap, @Nullable SEIModel seiModel, @Nullable WSDLPort wsdlModel, @NotNull WSEndpoint owner, @NotNull 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 - PolicyMap holding policies for a scope
      seiModel - abstraction of server-side SEI
      wsdlModel - abstraction of wsdl:port
      owner - instance of deployed service
      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.
      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 Tube createSecurityTube(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 AbstractFilterTubeImpl and making sure that this Tube eventually 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.