Class ServerPipeCreator

java.lang.Object
com.sun.xml.ws.api.server.ServerPipelineHook
com.sun.xml.ws.assembler.metro.ServerPipelineHook
com.sun.xml.wss.provider.wsit.ServerPipeCreator

public class ServerPipeCreator extends ServerPipelineHook
This is used by JAXWSContainer to return proper 196 security and app server monitoring pipes to the StandAlonePipeAssembler and TangoPipeAssembler
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.sun.xml.ws.api.pipe.Pipe
    createSecurityPipe(com.sun.xml.ws.policy.PolicyMap map, com.sun.xml.ws.api.model.SEIModel sei, com.sun.xml.ws.api.model.wsdl.WSDLPort port, 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.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.

    Methods inherited from class com.sun.xml.ws.api.server.ServerPipelineHook

    createMonitoringPipe, createSecurityPipe

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ServerPipeCreator

      public ServerPipeCreator()
  • Method Details

    • createSecurityPipe

      public com.sun.xml.ws.api.pipe.Pipe createSecurityPipe(com.sun.xml.ws.policy.PolicyMap map, com.sun.xml.ws.api.model.SEIModel sei, com.sun.xml.ws.api.model.wsdl.WSDLPort port, com.sun.xml.ws.api.server.WSEndpoint owner, com.sun.xml.ws.api.pipe.Pipe tail)
      Description copied from class: ServerPipelineHook
      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.
      Overrides:
      createSecurityPipe in class ServerPipelineHook
      Parameters:
      map - PolicyMap holding policies for a scope
      sei - abstraction of server-side SEI
      port - 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 com.sun.xml.ws.api.pipe.Tube createSecurityTube(com.sun.xml.ws.assembler.dev.ServerTubelineAssemblyContext context)
      Description copied from class: ServerPipelineHook
      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.

      Overrides:
      createSecurityTube in class ServerPipelineHook
      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.