/* 88 */ ChainedWritableWrapperGenerator generator = new ChainedWritableWrapperGenerator();
/* 89 */ if (this.generateSource)
/* 90 */ generator.add(new SourceWrapperGenerator(loader, this.messageStream), sourceDir);
/* 91 */ generator.add(new BytecodeWrapperGenerator(loader, this.messageStream), this.outputDir);
/* */
/* 93 */ JAXWSWebServiceMetaDataBuilder builder = new JAXWSWebServiceMetaDataBuilder();
/* 94 */ builder.setWrapperGenerator(generator);
/* 95 */ builder.setGenerateWsdl(this.generateWsdl);
/* 96 */ builder.setToolMode(true);
/* 97 */ builder.setWsdlDirectory(resourceDir);
/* 98 */ builder.setMessageStream(this.messageStream);
/* */
/* 100 */ if (this.generateWsdl) {
/* 101 */ this.messageStream.println("Generating WSDL:");
/* */ }
/* 103 */ SPIProvider spiProvider = SPIProviderResolver.getInstance().getProvider();
/* 104 */ DeploymentModelFactory factory = (DeploymentModelFactory)spiProvider.getSPI(DeploymentModelFactory.class);
/* 105 */ Deployment dep = factory.newDeployment("wsprovide-deployment", loader);
/* 106 */ dep.setRuntimeClassLoader(loader);
/* */
/* 108 */ builder.buildWebServiceMetaData(dep, umd, endpointClass, null);
/* */ try
/* */ {
/* 111 */ generator.write();
/* */ }
/* */ catch (IOException io)