All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.tracee.contextlogger.contextprovider.jaxws.TraceeClientHandlerResolverBuilder Maven / Gradle / Ivy

There is a newer version: 0.11.0
Show newest version
package io.tracee.contextlogger.contextprovider.jaxws;

import javax.xml.ws.handler.HandlerResolver;
import javax.xml.ws.handler.soap.SOAPHandler;
import javax.xml.ws.handler.soap.SOAPMessageContext;

/**
 * Fluent interface to build client handler resolver
 */
public interface TraceeClientHandlerResolverBuilder {

    /**
     * Finishes creation of handler resolver and returns a {@link HandlerResolver} instance.
     * @return a reference to a handler resolver (this in most cases)
     */
    HandlerResolver build();

    /**
     * Adds an existing {@link javax.xml.ws.handler.soap.SOAPHandler} instance to the HandlerResolver.
     * @param handler the instance to add
     * @return this builder instance
     */
    TraceeClientHandlerResolverBuilder add(final SOAPHandler handler);

    /**
     * Creates a {@link javax.xml.ws.handler.soap.SOAPHandler} instance via reflection and adds it to the HandlerResolver.
     * @param handlerType the instance to add
     * @return this builder instance
     */
    TraceeClientHandlerResolverBuilder add(final Class> handlerType);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy