com.ibm.dtfj.java
Interface JavaVMInitArgs


public interface JavaVMInitArgs


Field Summary
static int JNI_VERSION_1_1
          The JNI specified version constant for the Java 1.1 version of JNI
static int JNI_VERSION_1_2
          The JNI specified version constant for the Java 1.2 version of JNI
static int JNI_VERSION_1_4
          The JNI specified version constant for the Java 1.4 version of JNI
 
Method Summary
 boolean getIgnoreUnrecognized()
          Fetch the ignoreUnrecognized field from the JavaVMInitArgs structure used to create this VM.
 java.util.Iterator getOptions()
          Fetch the options used to start this VM, in the order they were originally specified.
 int getVersion()
          Fetch the JNI version from the JavaVMInitArgs structure used to create this VM.
 

Field Detail

JNI_VERSION_1_1

public static final int JNI_VERSION_1_1
The JNI specified version constant for the Java 1.1 version of JNI

See Also:
Constant Field Values

JNI_VERSION_1_2

public static final int JNI_VERSION_1_2
The JNI specified version constant for the Java 1.2 version of JNI

See Also:
Constant Field Values

JNI_VERSION_1_4

public static final int JNI_VERSION_1_4
The JNI specified version constant for the Java 1.4 version of JNI

See Also:
Constant Field Values
Method Detail

getVersion

public int getVersion()
               throws DataUnavailable,
                      CorruptDataException
Fetch the JNI version from the JavaVMInitArgs structure used to create this VM. See the JNI specification for the meaning fo this field.

Returns:
the JNI version
Throws:
DataUnavailable
CorruptDataException

getIgnoreUnrecognized

public boolean getIgnoreUnrecognized()
                              throws DataUnavailable,
                                     CorruptDataException
Fetch the ignoreUnrecognized field from the JavaVMInitArgs structure used to create this VM. See the JNI specification for the meaning fo this field.

Returns:
true if ignoreUnrecognized was set to a non-zero value with the VM was invoked
Throws:
DataUnavailable
CorruptDataException

getOptions

public java.util.Iterator getOptions()
                              throws DataUnavailable
Fetch the options used to start this VM, in the order they were originally specified.

Returns:
an Iterator over the collection of JavaVMInitOptions
Throws:
DataUnavailable
See Also:
JavaVMInitOption