Package com.sun.xml.rpc.tools.wsdeploy
Class EndpointClientCompileTool
- java.lang.Object
-
- com.sun.xml.rpc.util.ToolBase
-
- com.sun.xml.rpc.tools.wscompile.CompileTool
-
- com.sun.xml.rpc.tools.wsdeploy.EndpointClientCompileTool
-
- All Implemented Interfaces:
ProcessorNotificationListener,CompileTool
public class EndpointClientCompileTool extends CompileTool
- Author:
- JAX-RPC Development Team
-
-
Field Summary
Fields Modifier and Type Field Description protected StringadditionalClasspathprotected ArrayListclientListprotected EndpointClientInfoendpointClientprotected Hashtablehashtableprotected booleanlocalUseWSIBasicProfileprotected FiletargetDirectoryprotected booleanuseModelprotected ArrayListvectorprotected WebServicesInfowebServicesInfo-
Fields inherited from class com.sun.xml.rpc.tools.wscompile.CompileTool
actions, compilerDebug, compilerOptimize, configFile, configuration, debugModelFile, delegate, destDir, doNothing, donotOverride, dontGenerateRPCStructures, dontGenerateWrapperClasses, environment, explicitServiceContext, generateOneWayMethods, jaxbEnumType, keepGenerated, listener, mode, MODE_DEFINE, MODE_GEN_BOTH, MODE_GEN_CLIENT, MODE_GEN_SERVER, MODE_IMPORT, MODE_UNSPECIFIED, modelFile, noDataBinding, noEncodedTypes, noMultiRefEncoding, nonclassDestDir, noValidation, printStackTrace, processor, properties, resolveIDREF, searchSchemaForSubtypes, serializable, serializeInterfaces, serializerInfix, sourceDir, strictCompliance, targetVersion, unwrapDocLitWrappers, useDataHandlerOnly, useDocLiteralEncoding, userClasspath, useRPCLiteralEncoding, useWSIBasicProfile, verbose, wrapperFlagSeen
-
-
Constructor Summary
Constructors Constructor Description EndpointClientCompileTool(OutputStream out, String program, WebServicesInfo wsi, ArrayList list, File dir, String target, String classpath, ProcessorNotificationListener l)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidbeforeHook()ConfigurationcreateConfiguration()protected FilefindGeneratedFileEndingWith(String s)protected StringmakeAbsolute(String s)protected StringmakeAppRelative(File f)protected StringmakeJavaPackageName()protected StringmakeModelFileName()protected StringmakeTargetNamespaceURI()protected StringmakeTypeNamespaceURI()voidonError(Localizable msg)voidonInfo(Localizable msg)voidonWarning(Localizable msg)protected voidregisterProcessorActions(Processor processor)protected voidwithModelHook()-
Methods inherited from class com.sun.xml.rpc.tools.wscompile.CompileTool
afterHook, compileGeneratedClasses, createClasspathString, createEnvironment, getAction, getEnvironment, getGenericErrorMessage, getProcessor, getResourceBundleName, getSourceVersion, getVersion, getVersionString, help, initialize, parseArguments, printStackTrace, removeGeneratedFiles, resetOptionsForTargetVersion, run, setDelegate, setEnvironmentValues, usage, wasSuccessful
-
Methods inherited from class com.sun.xml.rpc.util.ToolBase
getMessage, getMessage, getMessage, getMessage, getMessage, getMessage, report, report, run
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.sun.xml.rpc.spi.tools.CompileTool
run
-
-
-
-
Field Detail
-
webServicesInfo
protected WebServicesInfo webServicesInfo
-
targetDirectory
protected File targetDirectory
-
useModel
protected boolean useModel
-
additionalClasspath
protected String additionalClasspath
-
hashtable
protected Hashtable hashtable
-
vector
protected ArrayList vector
-
endpointClient
protected EndpointClientInfo endpointClient
-
clientList
protected ArrayList clientList
-
localUseWSIBasicProfile
protected boolean localUseWSIBasicProfile
-
-
Constructor Detail
-
EndpointClientCompileTool
public EndpointClientCompileTool(OutputStream out, String program, WebServicesInfo wsi, ArrayList list, File dir, String target, String classpath, ProcessorNotificationListener l)
-
-
Method Detail
-
beforeHook
protected void beforeHook()
- Overrides:
beforeHookin classCompileTool
-
withModelHook
protected void withModelHook()
- Overrides:
withModelHookin classCompileTool
-
createConfiguration
public Configuration createConfiguration() throws Exception
- Overrides:
createConfigurationin classCompileTool- Throws:
Exception
-
makeTargetNamespaceURI
protected String makeTargetNamespaceURI()
-
makeTypeNamespaceURI
protected String makeTypeNamespaceURI()
-
makeModelFileName
protected String makeModelFileName()
-
makeJavaPackageName
protected String makeJavaPackageName()
-
registerProcessorActions
protected void registerProcessorActions(Processor processor)
- Overrides:
registerProcessorActionsin classCompileTool
-
onError
public void onError(Localizable msg)
- Specified by:
onErrorin interfaceProcessorNotificationListener- Overrides:
onErrorin classCompileTool
-
onWarning
public void onWarning(Localizable msg)
- Specified by:
onWarningin interfaceProcessorNotificationListener- Overrides:
onWarningin classCompileTool
-
onInfo
public void onInfo(Localizable msg)
- Specified by:
onInfoin interfaceProcessorNotificationListener- Overrides:
onInfoin classCompileTool
-
-