Interface JavaVMOption
- All Known Implementing Classes:
DTFJJavaVMOption
,JavaVMOption
,JCJavaVMOption
public interface JavaVMOption
Represents the JavaVMOption C structures passed to JNI_CreateJavaVM to create the VM.
Each JavaVMOption consists of two components:
- an optionString string, used to identify the option.
- an extraInfo pointer, used to pass additional information. This component is usually NULL.
-
Method Summary
Modifier and TypeMethodDescriptionFetch the extraInfo component of this option.Fetch the optionString component of the option.
-
Method Details
-
getOptionString
Fetch the optionString component of the option.- Returns:
- a string representing the optionString. This is never null.
- Throws:
DataUnavailable
CorruptDataException
-
getExtraInfo
Fetch the extraInfo component of this option.- Returns:
- the pointer value from the extraInfo (usually null).
- Throws:
DataUnavailable
CorruptDataException
-