Package org.apache.cxf.tools.common

Examples of org.apache.cxf.tools.common.FrontEndGeneratorsProfile


        String profile = null;
        if (profile == null) {
            profile = JAXWSProfile.class.getName();
        }

        FrontEndGeneratorsProfile profileObj = null;
        try {
            profileObj = (FrontEndGeneratorsProfile) Class.forName(profile).newInstance();
        } catch (Exception e) {
            Message msg = new Message("FAIl_TO_CREATE_PLUGINPROFILE", LOG);
            throw new ToolException(msg);
        }

        //Setup JavaModel for generators.
        JavaModel jmodel = wsdlDefinitionToJavaModel(getWSDLDefinition());
        if (jmodel == null) {
            Message msg = new Message("FAIL_TO_CREATE_JAVA_MODEL", LOG);
            throw new ToolException(msg);
        }
        getEnvironment().setJavaModel(jmodel);

        generators =  profileObj.getPlugins();
    }
View Full Code Here

TOP

Related Classes of org.apache.cxf.tools.common.FrontEndGeneratorsProfile

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.