Search in sources :

Example 1 with ServerMessageHandlerTube

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;
}
Also used : ServerMessageHandlerTube(com.sun.xml.ws.handler.ServerMessageHandlerTube) ServerSOAPHandlerTube(com.sun.xml.ws.handler.ServerSOAPHandlerTube) HandlerTube(com.sun.xml.ws.handler.HandlerTube) ServerMessageHandlerTube(com.sun.xml.ws.handler.ServerMessageHandlerTube) ServerLogicalHandlerTube(com.sun.xml.ws.handler.ServerLogicalHandlerTube) ServerSOAPHandlerTube(com.sun.xml.ws.handler.ServerSOAPHandlerTube) SOAPBinding(jakarta.xml.ws.soap.SOAPBinding) ServerLogicalHandlerTube(com.sun.xml.ws.handler.ServerLogicalHandlerTube) NotNull(com.sun.istack.NotNull)

Aggregations

NotNull (com.sun.istack.NotNull)1 HandlerTube (com.sun.xml.ws.handler.HandlerTube)1 ServerLogicalHandlerTube (com.sun.xml.ws.handler.ServerLogicalHandlerTube)1 ServerMessageHandlerTube (com.sun.xml.ws.handler.ServerMessageHandlerTube)1 ServerSOAPHandlerTube (com.sun.xml.ws.handler.ServerSOAPHandlerTube)1 SOAPBinding (jakarta.xml.ws.soap.SOAPBinding)1