Pointer |
Java Support Classes |
runtimeObject![]() |
java.lang.Object | +--mfcobol.runtime
Object COBOL Java domain for SX 2.0 and NE 3.1 (Frozen)
| Field Summary | |
static short |
A_BLINK
Screen attribute flag |
static short |
A_BOLD
Screen attribute flag |
static short |
A_DIM
Screen attribute flag |
static short |
A_NORMAL
Screen attribute flag |
static short |
A_REVERSE
Screen attribute flag |
static short |
A_UNDER
Screen attribute flag |
static int |
BY_CONTENT
BY_CONTENT is used in non-OO calls to COBOL in the usageDescription array. |
static int |
BY_REFERENCE
BY_REFERENCE is used in non-OO calls to COBOL in the usageDescription array. |
static int |
BY_VALUE
BY_VALUE is used in non-OO calls to COBOL in the usageDescription array. |
protected static long |
cblClassHandle
COBOL proxy class handle, if one exists |
protected long |
cblInstanceHandle
COBOL proxy instance handle, if one exists |
protected static boolean |
isWindows
Running under Windows operating system |
protected static java.lang.String |
osName
Operating system name |
| Constructor Summary | |
runtime()
|
|
| Method Summary | |
static void |
ccall(java.lang.Object retValue,
java.lang.String program,
java.lang.Object[] array,
int[] usageDescription)
Calls a c function with a set of parameters which returns an object as a parameter |
static int |
ccall(java.lang.String program,
java.lang.Object[] array,
int[] usageDescription)
Calls a c function with a set of parameters which returns an object as a parameter |
static void |
cobaddstr(int attribute,
java.lang.String name)
Displays the specified string on the screen at the virutal cursor's current position. |
static void |
cobaddstr(java.lang.String name)
Displays the specified string on the screen at the virutal cursor's current position. |
static void |
cobassocclass(java.lang.String fileName,
java.lang.Class javaClass)
Associates a Java class and COBOL class |
static void |
cobassocclass(java.lang.String fileName,
java.lang.String javaClass)
Associates a Java class and COBOL class |
static boolean |
cobcall_boolean(java.lang.String program,
java.lang.Object[] array)
Calls a COBOL program with a set of parameters which returns a boolean |
static java.lang.Boolean |
cobcall_Boolean(java.lang.String program,
java.lang.Object[] array)
Calls a COBOL program with a set of parameters which returns a Boolean |
static byte |
cobcall_byte(java.lang.String program,
java.lang.Object[] array)
Calls a COBOL program with a set of parameters which returns a String |
static java.lang.Byte |
cobcall_Byte(java.lang.String program,
java.lang.Object[] array)
Calls a COBOL program with a set of parameters which returns a Byte |
static float |
cobcall_float(java.lang.String program,
java.lang.Object[] array)
Calls a COBOL program with a set of parameters which returns a float |
static java.lang.Float |
cobcall_Float(java.lang.String program,
java.lang.Object[] array)
Calls a COBOL program with a set of parameters which returns a Float |
static int |
cobcall_int(java.lang.String program,
java.lang.Object[] array)
Calls a COBOL program with a set of parameters which returns a int |
static java.lang.Integer |
cobcall_Integer(java.lang.String program,
java.lang.Object[] array)
Calls a COBOL program with a set of parameters which returns a Integer |
static void |
cobcall_object(java.lang.Object retValue,
java.lang.String program,
java.lang.Object[] array)
Calls a COBOL program with a set of parameters which returns an object |
static short |
cobcall_short(java.lang.String program,
java.lang.Object[] array)
Calls a COBOL program with a set of parameters which returns a short |
static java.lang.Short |
cobcall_Short(java.lang.String program,
java.lang.Object[] array)
Calls a COBOL program with a set of parameters which returns a Short |
static java.lang.String |
cobcall_String(java.lang.String program,
java.lang.Object[] array)
Calls a COBOL program with a set of parameters which returns a String |
static void |
cobcall(java.lang.Object retValue,
java.lang.String program,
java.lang.Object[] array,
int[] usageDescription)
Calls a COBOL function with a set of parameters which returns an object * as a parameter |
static void |
cobcall(java.lang.Object retValue,
java.lang.String program,
java.lang.Object[] array,
int[] usageDescription,
boolean passJNIEnv_and_self)
Calls a COBOL function with a set of parameters which returns an object * as a parameter |
static int |
cobcall(java.lang.String program,
java.lang.Object[] array)
Calls a COBOL program with a set of parameters which returns a int |
static void |
cobcancel(java.lang.String program)
Causes the runtime to CANCEL the program specified. |
static void |
cobclear()
Clears the screen and positions the cursor at line 0, column 0 strings. |
static int |
cobcols()
Returns the number of columns on the screen |
static void |
cobfinalize(java.lang.Object o)
Destroys a COBOL proxy object |
static char |
cobgetch()
Gets a character from the keyboard |
static java.lang.String |
cobgetenv(java.lang.String name)
Allows you to find a COBOL/System environment variable |
boolean |
cobinvoke_boolean(java.lang.String methodName,
java.lang.Object[] params)
Invokes a COBOL instance with a set of parameters returning a boolean |
byte |
cobinvoke_byte(java.lang.String methodName,
java.lang.Object[] params)
Invokes a COBOL instance with a set of parameters returning a byte |
char |
cobinvoke_char(java.lang.String methodName,
java.lang.Object[] params)
Invokes a COBOL instance with a set of parameters returning a char |
double |
cobinvoke_double(java.lang.String methodName,
java.lang.Object[] params)
Invokes a COBOL instance with a set of parameters returning a double |
float |
cobinvoke_float(java.lang.String methodName,
java.lang.Object[] params)
Invokes a COBOL instance with a set of parameters returning a float |
int |
cobinvoke_int(java.lang.String methodName,
java.lang.Object[] params)
Invokes a COBOL instance with a set of parameters returning an int |
long |
cobinvoke_long(java.lang.String methodName,
java.lang.Object[] params)
Invokes a COBOL instance with a set of parameters returning a long |
java.lang.Object |
cobinvoke_object(java.lang.String methodName,
java.lang.Object[] params)
Invokes a COBOL instance with a set of parameters returning an object |
short |
cobinvoke_short(java.lang.String methodName,
java.lang.Object[] params)
Invokes a COBOL instance with a set of parameters returning a short |
void |
cobinvoke_void(java.lang.String methodName,
java.lang.Object[] params)
Invokes a COBOL instance with a set of parameters |
static boolean |
cobinvokestatic_boolean(java.lang.Class classObject,
java.lang.String methodName,
java.lang.Object[] params)
Invokes a COBOL class with a set of parameters returning a boolean |
static byte |
cobinvokestatic_byte(java.lang.Class classObject,
java.lang.String methodName,
java.lang.Object[] params)
Invokes a COBOL class with a set of parameters returning a byte |
static char |
cobinvokestatic_char(java.lang.Class classObject,
java.lang.String methodName,
java.lang.Object[] params)
Invokes a COBOL class with a set of parameters returning a char |
static double |
cobinvokestatic_double(java.lang.Class classObject,
java.lang.String methodName,
java.lang.Object[] params)
Invokes a COBOL class with a set of parameters returning a double |
static float |
cobinvokestatic_float(java.lang.Class classObject,
java.lang.String methodName,
java.lang.Object[] params)
Invokes a COBOL class with a set of parameters returning a float |
static int |
cobinvokestatic_int(java.lang.Class classObject,
java.lang.String methodName,
java.lang.Object[] params)
Invokes a COBOL class with a set of parameters returning an int |
static long |
cobinvokestatic_long(java.lang.Class classObject,
java.lang.String methodName,
java.lang.Object[] params)
Invokes a COBOL class with a set of parameters returning a long |
static java.lang.Object |
cobinvokestatic_object(java.lang.Class classObject,
java.lang.String methodName,
java.lang.Object[] params)
Invokes a COBOL class with a set of parameters returning an object |
static short |
cobinvokestatic_short(java.lang.Class classObject,
java.lang.String methodName,
java.lang.Object[] params)
Invokes a COBOL class with a set of parameters returning a short |
static void |
cobinvokestatic_void(java.lang.Class classObject,
java.lang.String methodName,
java.lang.Object[] params)
Invokes a COBOL class with a set of parameters |
static int |
coblines()
Returns the number of lines on the screen |
static int |
cobload(java.lang.String libName,
java.lang.String fileName)
Loads a COBOL library and/or program |
static int |
cobloadclass(java.lang.String libName,
java.lang.String fileName)
Loads a COBOL library and/or a class within that library. |
static int |
cobloadclass(java.lang.String libName,
java.lang.String fileName,
java.lang.Class javaClass)
Loads a COBOL library and/or a class within that library and associates it with a particular Java class. |
static int |
cobloadclass(java.lang.String libName,
java.lang.String fileName,
java.lang.String javaClassname)
Loads a COBOL library and/or a class within that library and associates it with a particular Java class of a given name. |
static void |
cobmove(int y,
int x)
Returns the number of lines on the screen |
static int |
cobputenv(java.lang.String name)
Allows you to dynamically change the COBOL environment a runtime |
static int |
cobrescanenv()
Causes the runtime to rescan the environment for COBOL environment strings. |
static void |
cobtidy()
Causes the runtime to tidy itself up. |
static void |
main(java.lang.String[] args)
Run this class in order to obtain the COBJVM environment variable for the current Java installation Setup CLASSPATH to include mfcobol.jar and use: java -Dmfcobol.getcobjvmenv=off mfcobol.runtime |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int BY_VALUE
cobcall(Object retValue, String program, Object[] array, int[] usageDescription),
ccall(Object retValue, String program, Object[] array, int[] usageDescription),
ccall(String program, Object[] array, int[] usageDescription)public static final int BY_REFERENCE
cobcall(Object retValue, String program, Object[] array, int[] usageDescription),
ccall(Object retValue, String program, Object[] array, int[] usageDescription),
ccall(String program, Object[] array, int[] usageDescription)public static final int BY_CONTENT
cobcall(Object retValue, String program, Object[] array, int[] usageDescription),
ccall(Object retValue, String program, Object[] array, int[] usageDescription),
ccall(String program, Object[] array, int[] usageDescription)public static final short A_NORMAL
cobaddstr(int attribute,String name)public static final short A_BOLD
cobaddstr(int attribute,String name)public static final short A_UNDER
cobaddstr(int attribute,String name)public static final short A_REVERSE
cobaddstr(int attribute,String name)public static final short A_BLINK
cobaddstr(int attribute,String name)public static final short A_DIM
cobaddstr(int attribute,String name)protected static final boolean isWindows
protected static final java.lang.String osName
protected static final long cblClassHandle
protected final long cblInstanceHandle
| Constructor Detail |
public runtime()
| Method Detail |
public static void main(java.lang.String[] args)
public static void cobcall(java.lang.Object retValue,
java.lang.String program,
java.lang.Object[] array,
int[] usageDescription,
boolean passJNIEnv_and_self)
throws COBOLException,
java.lang.Exception
retValue - an Object that contains the return valueprogram - a stringarray - array of objectspassJNIEnv_and_self - - pass JNIENv *, jclass self to
COBOL programCOBOLException - - COBOL Exceptionjava.lang.Exception - - NON COBOL Exception
To call a COBOL program called "myfunc" with one integer parameter passed in "by reference".
Integer myOneInt = new Integer(41);
Object myParms[] = { myOneInt };
int usageUpdate[] = { runtime.BY_REFERENCE } ;
System.out.println("By Reference test");
runtime.cobcall(null,"myfunc",myParms,usageUpdate,false);
System.out.println("myfunc returned "+myOneInt);
working-storage section. copy "javatypes.cpy". linkage section. 01 a usage jint. procedure division using a. add 1 to a exit program returning 0.
public static void cobcall(java.lang.Object retValue,
java.lang.String program,
java.lang.Object[] array,
int[] usageDescription)
throws COBOLException,
java.lang.Exception
retValue - an Object that contains the return valueprogram - a stringarray - array of objectsCOBOLException - - COBOL Exceptionjava.lang.Exception - - NON COBOL Exception
public static void ccall(java.lang.Object retValue,
java.lang.String program,
java.lang.Object[] array,
int[] usageDescription)
throws COBOLException,
java.lang.Exception
retValue - an Object that contains the return valueprogram - a stringarray - array of objectsCOBOLException - - COBOL Exceptionjava.lang.Exception - - NON COBOL Exception
public static int ccall(java.lang.String program,
java.lang.Object[] array,
int[] usageDescription)
throws COBOLException,
java.lang.Exception
program - a stringarray - array of objectsCOBOLException - - COBOL Exceptionjava.lang.Exception - - NON COBOL Exception
public static void cobcall_object(java.lang.Object retValue,
java.lang.String program,
java.lang.Object[] array)
throws COBOLException,
java.lang.Exception
retValue - an Object that contains the return valueprogram - a stringarray - array of objectsCOBOLException - - COBOL Exceptionjava.lang.Exception - - NON COBOL Exception
public static java.lang.String cobgetenv(java.lang.String name)
throws COBOLException,
java.lang.Exception
name - A name specifying the environment variable
to be searched for and returned.COBOLException - - COBOL Exceptionjava.lang.Exception - - NON COBOL Exception
public static int cobputenv(java.lang.String name)
throws COBOLException,
java.lang.Exception
name - A string to placed into the environment, with
the format NAME=VALUECOBOLException - - COBOL Exceptionjava.lang.Exception - - NON COBOL Exception
public static void cobclear()
throws COBOLException,
java.lang.Exception
COBOLException - - COBOL Exceptionjava.lang.Exception - - NON COBOL Exception
public static void cobaddstr(java.lang.String name)
throws COBOLException,
java.lang.Exception
name - text to be displayed on the screenCOBOLException - - COBOL Exceptionjava.lang.Exception - - NON COBOL Exception
public static void cobaddstr(int attribute,
java.lang.String name)
throws COBOLException,
java.lang.Exception
attribute - screen attribute to display the text inname - text to be displayed on the screenCOBOLException - - COBOL Exceptionjava.lang.Exception - - NON COBOL Exception
public static char cobgetch()
throws COBOLException,
java.lang.Exception
COBOLException - - COBOL Exceptionjava.lang.Exception - - NON COBOL Exception
public static int cobcols()
throws COBOLException,
java.lang.Exception
COBOLException - - COBOL Exceptionjava.lang.Exception - - NON COBOL Exception
public static int coblines()
throws COBOLException,
java.lang.Exception
COBOLException - - COBOL Exceptionjava.lang.Exception - - NON COBOL Exception
public static void cobmove(int y,
int x)
throws COBOLException,
java.lang.Exception
COBOLException - - COBOL Exceptionjava.lang.Exception - - NON COBOL Exception
public static int cobrescanenv()
throws COBOLException,
java.lang.Exception
COBOLException - - COBOL Exceptionjava.lang.Exception - - NON COBOL Exception
public static void cobcancel(java.lang.String program)
throws COBOLException,
java.lang.Exception
name - name of program to be CANCEL'edCOBOLException - - COBOL Exceptionjava.lang.Exception - - NON COBOL Exception
public static void cobtidy()
throws COBOLException,
java.lang.Exception
COBOLException - - COBOL Exceptionjava.lang.Exception - - NON COBOL Exception
public static int cobcall_int(java.lang.String program,
java.lang.Object[] array)
throws COBOLException,
java.lang.Exception
program - a stringarray - array of objectsCOBOLException - - COBOL Exceptionjava.lang.Exception - - NON COBOL Exception
public static int cobcall(java.lang.String program,
java.lang.Object[] array)
throws COBOLException,
java.lang.Exception
program - a stringarray - array of objectsCOBOLException - - COBOL Exceptionjava.lang.Exception - - NON COBOL Exception
public static byte cobcall_byte(java.lang.String program,
java.lang.Object[] array)
throws COBOLException,
java.lang.Exception
program - a stringarray - array of objectsCOBOLException - - COBOL Exceptionjava.lang.Exception - - NON COBOL Exception
public static boolean cobcall_boolean(java.lang.String program,
java.lang.Object[] array)
throws COBOLException,
java.lang.Exception
program - a stringarray - array of objectsCOBOLException - - COBOL Exceptionjava.lang.Exception - - NON COBOL Exception
public static short cobcall_short(java.lang.String program,
java.lang.Object[] array)
throws COBOLException,
java.lang.Exception
program - a stringarray - array of objectsCOBOLException - - COBOL Exceptionjava.lang.Exception - - NON COBOL Exception
public static float cobcall_float(java.lang.String program,
java.lang.Object[] array)
throws COBOLException,
java.lang.Exception
program - a stringarray - array of objectsCOBOLException - - COBOL Exceptionjava.lang.Exception - - NON COBOL Exception
public static java.lang.Integer cobcall_Integer(java.lang.String program,
java.lang.Object[] array)
throws java.lang.Exception,
COBOLException
program - a stringarray - array of objectsCOBOLException - - COBOL Exceptionjava.lang.Exception - - NON COBOL Exception
public static java.lang.Byte cobcall_Byte(java.lang.String program,
java.lang.Object[] array)
throws java.lang.Exception,
COBOLException
program - a stringarray - array of objectsCOBOLException - - COBOL Exceptionjava.lang.Exception - - NON COBOL Exception
public static java.lang.Boolean cobcall_Boolean(java.lang.String program,
java.lang.Object[] array)
throws java.lang.Exception,
COBOLException
program - a stringarray - array of objectsCOBOLException - - COBOL Exceptionjava.lang.Exception - - NON COBOL Exception
public static java.lang.Short cobcall_Short(java.lang.String program,
java.lang.Object[] array)
throws java.lang.Exception,
COBOLException
program - a stringarray - array of objectsCOBOLException - - COBOL Exceptionjava.lang.Exception - - NON COBOL Exception
public static java.lang.Float cobcall_Float(java.lang.String program,
java.lang.Object[] array)
throws java.lang.Exception,
COBOLException
program - a stringarray - array of objectsCOBOLException - - COBOL Exceptionjava.lang.Exception - - NON COBOL Exception
public static java.lang.String cobcall_String(java.lang.String program,
java.lang.Object[] array)
throws java.lang.Exception,
COBOLException
program - a stringarray - array of objectsCOBOLException - - COBOL Exceptionjava.lang.Exception - - NON COBOL Exception
public static void cobassocclass(java.lang.String fileName,
java.lang.Class javaClass)
fileName - file name of COBOL classjavaClass - Java class
public static void cobassocclass(java.lang.String fileName,
java.lang.String javaClass)
fileName - file name of COBOL classjavaClass - full name of Java class
public static int cobloadclass(java.lang.String libName,
java.lang.String fileName)
static {
cobloadclass("DllName", "MyCOBOLClass");
}
libName - library name, if requiredfileName - file name of COBOL classcobloadclass(String libName, String fileName, Class javaClass),
cobloadclass(String libName, String fileName, String javaClassname)
public static int cobloadclass(java.lang.String libName,
java.lang.String fileName,
java.lang.Class javaClass)
static {
cobloadclass("DllName", "MyCOBOLClass", MyPackage.MyJavaClass.class));
}
libName - library name, if requiredfileName - file name of COBOL classjavaClass - Java classcobloadclass(String libName, String fileName),
cobloadclass(String libName, String fileName, String javaClassname)
public static int cobloadclass(java.lang.String libName,
java.lang.String fileName,
java.lang.String javaClassname)
static {
cobloadclass("DllName", "MyCOBOLClass", "MyPackage.MyJavaClass");
}
libName - library name, if requiredfileName - file name of COBOL classjavaClassname - full name of Java classcobloadclass(String libName, String fileName),
cobloadclass(String libName, String fileName, Class javaClass)
public static int cobload(java.lang.String libName,
java.lang.String fileName)
libName - library namefilenName - name of COBOL program
public boolean cobinvoke_boolean(java.lang.String methodName,
java.lang.Object[] params)
throws COBOLException,
java.lang.Exception
methodName - the method to invokeparams - an array of objects containg the method parametersCOBOLException - - COBOL Exceptionjava.lang.Exception - - NON COBOL Exception
public byte cobinvoke_byte(java.lang.String methodName,
java.lang.Object[] params)
throws COBOLException,
java.lang.Exception
methodName - the method to invokeparams - an array of objects containg the method parametersCOBOLException - - COBOL Exceptionjava.lang.Exception - - NON COBOL Exception
public char cobinvoke_char(java.lang.String methodName,
java.lang.Object[] params)
throws COBOLException,
java.lang.Exception
methodName - the method to invokeparams - an array of objects containg the method parametersCOBOLException - - COBOL Exceptionjava.lang.Exception - - NON COBOL Exception
public short cobinvoke_short(java.lang.String methodName,
java.lang.Object[] params)
throws COBOLException,
java.lang.Exception
methodName - the method to invokeparams - an array of objects containg the method parametersCOBOLException - - COBOL Exceptionjava.lang.Exception - - NON COBOL Exception
public int cobinvoke_int(java.lang.String methodName,
java.lang.Object[] params)
throws COBOLException,
java.lang.Exception
methodName - the method to invokeparams - an array of objects containg the method parametersCOBOLException - - COBOL Exceptionjava.lang.Exception - - NON COBOL Exception
public long cobinvoke_long(java.lang.String methodName,
java.lang.Object[] params)
throws COBOLException,
java.lang.Exception
methodName - the method to invokeparams - an array of objects containg the method parametersCOBOLException - - COBOL Exceptionjava.lang.Exception - - NON COBOL Exception
public float cobinvoke_float(java.lang.String methodName,
java.lang.Object[] params)
throws COBOLException,
java.lang.Exception
methodName - the method to invokeparams - an array of objects containg the method parametersCOBOLException - - COBOL Exceptionjava.lang.Exception - - NON COBOL Exception
public double cobinvoke_double(java.lang.String methodName,
java.lang.Object[] params)
throws COBOLException,
java.lang.Exception
methodName - the method to invokeparams - an array of objects containg the method parametersCOBOLException - - COBOL Exceptionjava.lang.Exception - - NON COBOL Exception
public void cobinvoke_void(java.lang.String methodName,
java.lang.Object[] params)
throws COBOLException,
java.lang.Exception
methodName - the method to invokeparams - an array of objects containg the method parametersCOBOLException - - COBOL Exceptionjava.lang.Exception - - NON COBOL Exception
public java.lang.Object cobinvoke_object(java.lang.String methodName,
java.lang.Object[] params)
throws COBOLException,
java.lang.Exception
methodName - the method to invokeparams - an array of objects containg the method parametersCOBOLException - - COBOL Exceptionjava.lang.Exception - - NON COBOL Exception
public static boolean cobinvokestatic_boolean(java.lang.Class classObject,
java.lang.String methodName,
java.lang.Object[] params)
throws COBOLException,
java.lang.Exception
classObject - the Java classmethodName - the method to invokeparams - an array of objects containg the method parametersCOBOLException - - COBOL Exceptionjava.lang.Exception - - NON COBOL Exception
public static byte cobinvokestatic_byte(java.lang.Class classObject,
java.lang.String methodName,
java.lang.Object[] params)
throws COBOLException,
java.lang.Exception
classObject - the Java classmethodName - the method to invokeparams - an array of objects containg the method parametersCOBOLException - - COBOL Exceptionjava.lang.Exception - - NON COBOL Exception
public static char cobinvokestatic_char(java.lang.Class classObject,
java.lang.String methodName,
java.lang.Object[] params)
throws COBOLException,
java.lang.Exception
classObject - the Java classmethodName - the method to invokeparams - an array of objects containg the method parametersCOBOLException - - COBOL Exceptionjava.lang.Exception - - NON COBOL Exception
public static short cobinvokestatic_short(java.lang.Class classObject,
java.lang.String methodName,
java.lang.Object[] params)
throws COBOLException,
java.lang.Exception
classObject - the Java classmethodName - the method to invokeparams - an array of objects containg the method parametersCOBOLException - - COBOL Exceptionjava.lang.Exception - - NON COBOL Exception
public static int cobinvokestatic_int(java.lang.Class classObject,
java.lang.String methodName,
java.lang.Object[] params)
throws COBOLException,
java.lang.Exception
classObject - the Java classmethodName - the method to invokeparams - an array of objects containg the method parametersCOBOLException - - COBOL Exceptionjava.lang.Exception - - NON COBOL Exception
public static long cobinvokestatic_long(java.lang.Class classObject,
java.lang.String methodName,
java.lang.Object[] params)
throws COBOLException,
java.lang.Exception
classObject - the Java classmethodName - the method to invokeparams - an array of objects containg the method parametersCOBOLException - - COBOL Exceptionjava.lang.Exception - - NON COBOL Exception
public static float cobinvokestatic_float(java.lang.Class classObject,
java.lang.String methodName,
java.lang.Object[] params)
throws COBOLException,
java.lang.Exception
classObject - the Java classmethodName - the method to invokeparams - an array of objects containg the method parametersCOBOLException - - COBOL Exceptionjava.lang.Exception - - NON COBOL Exception
public static double cobinvokestatic_double(java.lang.Class classObject,
java.lang.String methodName,
java.lang.Object[] params)
throws COBOLException,
java.lang.Exception
classObject - the Java classmethodName - the method to invokeparams - an array of objects containg the method parametersCOBOLException - - COBOL Exceptionjava.lang.Exception - - NON COBOL Exception
public static void cobinvokestatic_void(java.lang.Class classObject,
java.lang.String methodName,
java.lang.Object[] params)
throws COBOLException,
java.lang.Exception
classObject - the Java classmethodName - the method to invokeparams - an array of objects containg the method parametersCOBOLException - - COBOL Exceptionjava.lang.Exception - - NON COBOL Exception
public static java.lang.Object cobinvokestatic_object(java.lang.Class classObject,
java.lang.String methodName,
java.lang.Object[] params)
throws COBOLException,
java.lang.Exception
classObject - the Java classmethodName - the method to invokeparams - an array of objects containg the method parametersCOBOLException - - COBOL Exceptionjava.lang.Exception - - NON COBOL Exception
public static void cobfinalize(java.lang.Object o)
throws java.lang.Throwable
o - an object which has a COBOL proxy associated with itjava.lang.Throwable - - throwableCopyright © 2001 Micro Focus International Limited. All rights reserved.
This document and the proprietary marks and names used herein are protected by international law.