Progress
Open Client
Developer’s Guide
Proxy Naming Conventions
ProxyGen uses the following default naming conventions for proxy objects and methods:
- AppObject, SubAppObject, and ProcObject class names
You must specify the name for each AppObject and SubAppObject class. Unless you override it, each ProcObject class name is the r-code filename of the mapped persistent procedure, matching the case and spelling without the extension. ProxyGen also performs any automatic name conversions.
Each object must be uniquely named.
For Java proxies, these object names are used as the actual Java class names.
For ActiveX proxies, these object names are preceded by a prefix that you see in the VB Object Browser for each class as follows:
- Methods in an AppObject or SubAppObject that execute an external, non-persistent AppServer procedure
The method name is the procedure filename without the extension. Method names are case sensitive. ProxyGen also performs automatic name conversions. See the "Automatic Name Conversions" section.
- Methods in a ProcObject that execute an internal procedure or user-defined function defined in the persistent procedure
The method name match the corresponding 4GL names found in the procedure file. Method names are case sensitive. ProxyGen also performs any automatic name conversions.
- Class factory methods in an AppObject that create a SubAppObject
The method name depends on the type of Open Client:
- Class factory methods in an AppObject or SubAppObject that create a ProcObject
The method name depends on the type of Open Client:
NOTE
On Windows platforms, the case of the r-code filename is affected by the name entered during 4GL compilation. For example if you execute the following COMPILE statement in the Progress Procedure Editor:
COMPILE aBCdEf.r SAVE.
The generated r-code filename isaBCdEf.r
, even thoughAbcdef.p
might be the actual procedure filename. Thus, the generated method name isaBCdEf
orCreatePO_aBCdEf
for a persistent procedure.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |