use of org.apache.cxf.tools.java2wsdl.processor.internal.jaxws.JAXWSFrontEndProcessor in project cxf by apache.
the class JavaToWSContainer method processWSDL.
private void processWSDL(ToolContext env, String ft) {
Processor processor = new JavaToWSDLProcessor();
processor.setEnvironment(env);
processor.process();
if (ft.equals(ToolConstants.JAXWS_FRONTEND)) {
if (env.optionSet(ToolConstants.CFG_SERVER) || env.optionSet(ToolConstants.CFG_CLIENT)) {
processor = new JAXWSFrontEndProcessor();
processor.setEnvironment(env);
processor.process();
}
} else {
processor = new SimpleFrontEndProcessor();
processor.setEnvironment(env);
processor.process();
}
}
Aggregations