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

io.github.factoryfx.soap.SoapHandlerFactory Maven / Gradle / Ivy

package io.github.factoryfx.soap;

import io.github.factoryfx.factory.FactoryBase;
import io.github.factoryfx.factory.SimpleFactoryBase;
import io.github.factoryfx.factory.attribute.dependency.FactoryAttribute;

public class SoapHandlerFactory> extends SimpleFactoryBase {

    public final FactoryAttribute> serviceBean = new FactoryAttribute<>();

    @Override
    protected SoapHandler createImpl() {
        S webService = serviceBean.instance();
        return new SoapHandler(new WebServiceRequestDispatcher(webService), new SOAPMessageUtil(JAXBSoapUtil.getJAXBContextForWebService(webService.getClass())));
    }
}






© 2015 - 2024 Weber Informatics LLC | Privacy Policy