com.ibm.dtfj.java

Interface JavaVMInitArgs


  1. public interface JavaVMInitArgs
Represents the JavaVMInitArgs C structure passed to JNI_CreateJavaVM to create the Java runtime.

Field Summary

Modifier and Type Field and Description
  1. static
  2. int
JNI_VERSION_1_1
The JNI specified version constant for the Java 1.1 version of JNI
  1. static
  2. int
JNI_VERSION_1_2
The JNI specified version constant for the Java 1.2 version of JNI
  1. static
  2. int
JNI_VERSION_1_4
The JNI specified version constant for the Java 1.4 version of JNI

Method Summary

Modifier and Type Method and Description
  1. boolean
getIgnoreUnrecognized()
Fetch the ignoreUnrecognized field from the JavaVMInitArgs structure used to create this VM.
  1. java.util.Iterator
getOptions()
Fetch the options used to start this VM, in the order they were originally specified.
  1. int
getVersion()
Fetch the JNI version from the JavaVMInitArgs structure used to create this VM.

Field Detail

JNI_VERSION_1_1

  1. static final int JNI_VERSION_1_1
The JNI specified version constant for the Java 1.1 version of JNI
See Also:

JNI_VERSION_1_2

  1. static final int JNI_VERSION_1_2
The JNI specified version constant for the Java 1.2 version of JNI
See Also:

JNI_VERSION_1_4

  1. static final int JNI_VERSION_1_4
The JNI specified version constant for the Java 1.4 version of JNI
See Also:

Method Detail

getVersion

  1. int getVersion()
  2. throws DataUnavailable
  3. CorruptDataException
Fetch the JNI version from the JavaVMInitArgs structure used to create this VM. See the JNI specification for the meaning for this field.
Returns:
the JNI version
Throws:

getIgnoreUnrecognized

  1. boolean getIgnoreUnrecognized()
  2. throws DataUnavailable
  3. CorruptDataException
Fetch the ignoreUnrecognized field from the JavaVMInitArgs structure used to create this VM. See the JNI specification for the meaning of this field.
Returns:
true if ignoreUnrecognized was set to a non-zero value with the VM was invoked
Throws:

getOptions

  1. java.util.Iterator getOptions()
  2. throws DataUnavailable
Fetch the options used to start this VM, in the order they were originally specified.
Returns:
an Iterator over the collection of JavaVMOptions
Throws:
See Also: