com.sun.xml.wss.provider.wsit
Class ClientPipeCreator

java.lang.Object
  extended by com.sun.xml.ws.api.client.ClientPipelineHook
      extended by com.sun.xml.ws.assembler.ClientPipelineHook
          extended by com.sun.xml.wss.provider.wsit.ClientPipeCreator

public class ClientPipeCreator
extends ClientPipelineHook

This is used by WSClientContainer to return proper 196 security pipe to the StandAlonePipeAssembler and TangoPipeAssembler


Constructor Summary
ClientPipeCreator()
           
 
Method Summary
 com.sun.xml.ws.api.pipe.Pipe createSecurityPipe(com.sun.xml.ws.policy.PolicyMap map, com.sun.xml.ws.api.pipe.ClientPipeAssemblerContext ctxt, com.sun.xml.ws.api.pipe.Pipe tail)
          Called during the client-side pipeline construction process once to allow a container to register a pipe for security.
 com.sun.xml.ws.api.pipe.Tube createSecurityTube(ClientTubelineAssemblyContext context)
          Called during the client-side tubeline construction process once to allow a container to register a tube for security.
 
Methods inherited from class com.sun.xml.ws.api.client.ClientPipelineHook
createSecurityPipe
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClientPipeCreator

public ClientPipeCreator()
Method Detail

createSecurityPipe

public com.sun.xml.ws.api.pipe.Pipe createSecurityPipe(com.sun.xml.ws.policy.PolicyMap map,
                                                       com.sun.xml.ws.api.pipe.ClientPipeAssemblerContext ctxt,
                                                       com.sun.xml.ws.api.pipe.Pipe tail)
Description copied from class: ClientPipelineHook
Called during the client-side 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.

Overrides:
createSecurityPipe in class ClientPipelineHook
Parameters:
map - PolicyMap holding policies for a scope
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.
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(ClientTubelineAssemblyContext context)
Description copied from class: ClientPipelineHook
Called during the client-side tubeline construction process once to allow a container to register a tube for security. 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 ClientPipelineHook
Parameters:
context - Represents abstraction of PolicyMap, 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.