1 19 20 package org.netbeans.modules.websvc.core.client.wizard; 21 import org.netbeans.api.project.Project; 22 import org.netbeans.modules.websvc.core.ClientCreator; 23 import org.netbeans.modules.websvc.core.ClientCreatorProvider; 24 import org.netbeans.modules.websvc.core.ClientWizardProperties; 25 import org.openide.WizardDescriptor; 26 27 31 public class JaxWsClientCreatorProvider implements ClientCreatorProvider { 32 33 public JaxWsClientCreatorProvider() { 34 } 35 36 public ClientCreator getClientCreator(Project project, WizardDescriptor wiz) { 37 String jaxVersion = (String ) wiz.getProperty(ClientWizardProperties.JAX_VERSION); 38 if (jaxVersion.equals(ClientWizardProperties.JAX_WS)) { 39 return new JaxWsClientCreator(project, wiz); 40 } 41 return null; 42 } 43 44 } 45 | Popular Tags |