use of com.sun.xml.ws.handler.ServerMessageHandlerTube in project metro-jax-ws by eclipse-ee4j.
the class ServerTubeAssemblerContext method createHandlerTube.
/**
* Creates a {@link Tube} that invokes protocol and logical handlers.
*/
@NotNull
public Tube createHandlerTube(@NotNull Tube next) {
if (!binding.getHandlerChain().isEmpty()) {
HandlerTube cousin = new ServerLogicalHandlerTube(binding, seiModel, wsdlModel, next);
next = cousin;
if (binding instanceof SOAPBinding) {
// Add SOAPHandlerTube
next = cousin = new ServerSOAPHandlerTube(binding, next, cousin);
// Add MessageHandlerTube
next = new ServerMessageHandlerTube(seiModel, binding, next, cousin);
}
}
return next;
}
Aggregations