classLoader = new URLClassLoader(urls, Thread.currentThread().getContextClassLoader());
}
protected void initializeOtherParams() {
// set the other parameters to the builder
Java2WSDLCommandLineOption option =
loadOption(SCHEMA_TARGET_NAMESPACE_OPTION, SCHEMA_TARGET_NAMESPACE_OPTION_LONG);
schemaTargetNamespace = (option == null) ? null : option.getOptionValue();
option = loadOption(SCHEMA_TARGET_NAMESPACE_PREFIX_OPTION, SCHEMA_TARGET_NAMESPACE_PREFIX_OPTION_LONG);
schemaTargetNamespacePrefix = (option == null) ? null : option.getOptionValue();
option = loadOption(TARGET_NAMESPACE_OPTION, TARGET_NAMESPACE_OPTION_LONG);
targetNamespace = (option == null) ? null : option.getOptionValue();
option = loadOption(TARGET_NAMESPACE_PREFIX_OPTION, TARGET_NAMESPACE_PREFIX_OPTION_LONG);
targetNamespacePrefix = (option == null) ? null : option.getOptionValue();
option = loadOption(SERVICE_NAME_OPTION, SERVICE_NAME_OPTION_LONG);
serviceName = (option == null) ? Java2WSDLUtils.getSimpleClassName(sourceClassName) : option.getOptionValue();
option = loadOption(STYLE_OPTION, STYLE_OPTION);
style = (option == null) ? null : option.getOptionValue();
option = loadOption(LOCATION_OPTION, LOCATION_OPTION);
locationUri = (option == null) ? null : option.getOptionValue();
option = loadOption(USE_OPTION, USE_OPTION);
use = (option == null) ? null : option.getOptionValue();
option = loadOption(ATTR_FORM_DEFAULT_OPTION, ATTR_FORM_DEFAULT_OPTION_LONG);
attrFormDefault = (option == null) ? null : option.getOptionValue();
option = loadOption(ELEMENT_FORM_DEFAULT_OPTION, ELEMENT_FORM_DEFAULT_OPTION_LONG);
elementFormDefault = option == null ? null : option.getOptionValue();
option = loadOption(TuscanyJava2WSDLConstants.EXTRA_CLASSES_DEFAULT_OPTION, TuscanyJava2WSDLConstants.EXTRA_CLASSES_DEFAULT_OPTION_LONG);
extraClasses = option == null ? new ArrayList() : option.getOptionValues();
option = loadOption(TuscanyJava2WSDLConstants.FACTORY_CLASSNAMES_OPTION, TuscanyJava2WSDLConstants.FACTORY_CLASSNAMES_OPTION_LONG);
factoryClassNames = option == null ? new ArrayList() : option.getOptionValues();
}