oracle.forms.jdapi.demo
Class GetModuleName
java.lang.Object
|
+--oracle.forms.jdapi.demo.GetModuleName
- public class GetModuleName
- extends java.lang.Object
Forms JAVA API (JDAPI): Sample 2 - GetModuleName
An evolution of the basic GetFormName class, that can open any Forms module
type, not just FMBs. This demonstrates the use of the JdapiModule superclass
Prints the name of the Forms module (FMB, OLB, PLL or MMB) which is
supplied as an argument to the program.
- Version:
- 1.0
- Author:
- drmills, 09-August-2001
Constructor Summary |
GetModuleName(java.lang.String moduleName)
Everything in this class is done in the constructor.
This class starts to do more advanced operations. |
Method Summary |
static void |
main(java.lang.String[] args)
Simply creates a new instance of the GetModuleName class, passing the
first string on the command line as the name of the forms module. |
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
s_sample_name
static java.lang.String s_sample_name
s_sample_version
static java.lang.String s_sample_version
GetModuleName
public GetModuleName(java.lang.String moduleName)
- Everything in this class is done in the constructor.
This class starts to do more advanced operations. Some of the JDAPI
option flags are set:
- setFailSubclassLoad - false - continue even if a reference module cannot be found
- setFailLibraryLoad - false - continue even if an attached library cannot be found
The JDAPI is also explicitly shutdown when finished with.
- Parameters:
moduleName
- the file name of the Forms module to open- Throws:
no
- exceptions thrown
main
public static void main(java.lang.String[] args)
- Simply creates a new instance of the GetModuleName class, passing the
first string on the command line as the name of the forms module.
- Parameters:
argsCommand
- line strings passed to the Java command