Package com.sun.xml.rpc.tools.wsdeploy
Class EndpointCompileTool
- java.lang.Object
-
- com.sun.xml.rpc.util.ToolBase
-
- com.sun.xml.rpc.tools.wscompile.CompileTool
-
- com.sun.xml.rpc.tools.wsdeploy.EndpointCompileTool
-
- All Implemented Interfaces:
ProcessorNotificationListener,CompileTool
public class EndpointCompileTool extends CompileTool
- Author:
- JAX-RPC Development Team
-
-
Field Summary
Fields Modifier and Type Field Description protected StringadditionalClasspathprotected EndpointInfoendpointInfoprotected 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 EndpointCompileTool(OutputStream out, String program, EndpointInfo ei, WebServicesInfo wsi, File dir, String target, Properties props, String classpath, ProcessorNotificationListener l)EndpointCompileTool(OutputStream out, String program, WebServicesInfo wsi, ArrayList list, File dir, String target, Properties props, String classpath, ProcessorNotificationListener l)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidafterHook()protected voidbeforeHook()protected booleanclassExists(String className, String message)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
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
-
endpointInfo
protected EndpointInfo endpointInfo
-
webServicesInfo
protected WebServicesInfo webServicesInfo
-
targetDirectory
protected File targetDirectory
-
useModel
protected boolean useModel
-
additionalClasspath
protected String additionalClasspath
-
hashtable
protected Hashtable hashtable
-
vector
protected ArrayList vector
-
localUseWSIBasicProfile
protected boolean localUseWSIBasicProfile
-
-
Constructor Detail
-
EndpointCompileTool
public EndpointCompileTool(OutputStream out, String program, WebServicesInfo wsi, ArrayList list, File dir, String target, Properties props, String classpath, ProcessorNotificationListener l)
-
EndpointCompileTool
public EndpointCompileTool(OutputStream out, String program, EndpointInfo ei, WebServicesInfo wsi, File dir, String target, Properties props, String classpath, ProcessorNotificationListener l)
-
-
Method Detail
-
beforeHook
protected void beforeHook()
- Overrides:
beforeHookin classCompileTool
-
withModelHook
protected void withModelHook()
- Overrides:
withModelHookin classCompileTool
-
afterHook
protected void afterHook()
- Overrides:
afterHookin 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
-
-