public class GenerateLegacyProxyOpenClient extends ConversionDriver
p2j.cfg.xml under the proxy-programs-cfg
parameter, it will parse, annotate and generate the Java proxy programs for all program files configured.
Although the middle front and middle parts are being executed for this sub-set of programs, no other Java code is generated, either for the schema or for the 4GL programs configured as 'proxy programs'.
The back() processing will generate only the Java code for the proxy programs.
ConversionDriver.CvtRunModeTransformDriver.ExcludeCheck, TransformDriver.JobDefinition, TransformDriver.ListType, TransformDriver.ScanCheck| Modifier and Type | Field and Description |
|---|---|
private static ConversionStatus |
LOG
Logger.
|
private static java.lang.String |
TITLE
Job title.
|
asts, DANGER_LIST, datanames, debug, dicts, job, mode, MSG_DEBUG, MSG_NONE, MSG_STATUS, MSG_TRACE, sdicts, source, spacer| Modifier | Constructor and Description |
|---|---|
private |
GenerateLegacyProxyOpenClient(TransformDriver.JobDefinition job)
Create a new job.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
back()
Drive the back end of the conversion process to generate the Java code for the proxy programs.
|
static void |
main(java.lang.String[] args)
Main method.
|
generateProxyPrograms, generateWsdls, middlecleanScanResults, convertSourceNamesToAstNames, convertSourceNamesToDictNames, createDatabaseList, deleteFiles, deleteFileSpecs, escapeRegex, executeJob, front, interpretRunMode, omitSchemaMetadata, printElapsed, printHeader, processCommandLine, processTrees, processTrees, replaceFilenameExtension, runCallGraphGenerator, runScanDriver, runSchemaLoader, syntax, zapFilesprivate static final ConversionStatus LOG
private static final java.lang.String TITLE
private GenerateLegacyProxyOpenClient(TransformDriver.JobDefinition job)
job - The job configuration.protected void back()
throws AstException,
ConfigurationException
This runs the following:
annotations/legacy_services. This is an extract
from annotations_prep and annotation phases, to annotate the ASTs with Java names.
ConversionDriver.generateProxyPrograms();
back in class ConversionDriverConfigurationException - If there is problem reading/parsing the configuration.AstException - If there is an problem processing ASTs.SchemaException - If there is a problem with the schema.java.io.IOException - If there is a problem with I/O.public static void main(java.lang.String[] args)
"proxy-programs-cfg"
parameter of p2j.cfg.xml.args - None.