use of com.sun.xml.ws.handler.ClientLogicalHandlerTube in project metro-jax-ws by eclipse-ee4j.
the class ClientTubeAssemblerContext method createHandlerTube.
/**
* Creates a {@link Tube} that invokes protocol and logical handlers.
*/
public Tube createHandlerTube(Tube next) {
HandlerTube cousinHandlerTube = null;
// XML/HTTP Binding can have only LogicalHandlerPipe
if (binding instanceof SOAPBinding) {
// Add MessageHandlerTube
HandlerTube messageHandlerTube = new ClientMessageHandlerTube(seiModel, binding, wsdlModel, next);
next = cousinHandlerTube = messageHandlerTube;
// Add SOAPHandlerTuber
HandlerTube soapHandlerTube = new ClientSOAPHandlerTube(binding, next, cousinHandlerTube);
next = cousinHandlerTube = soapHandlerTube;
}
return new ClientLogicalHandlerTube(binding, seiModel, next, cousinHandlerTube);
}
Aggregations