Class JCJavaVMOption
java.lang.Object
com.ibm.dtfj.java.javacore.JCJavaVMOption
- All Implemented Interfaces:
JavaVMOption
A javacore-based implementation of DTFJ JavaVMOption. Both the option string
and the extraInfo pointer value are available in the ENVINFO section of the
javacore, e.g.
2CIUSERARG _port_library 0x002A04F8
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionFetch the extraInfo component of this option.Fetch the optionString component of the option.
-
Constructor Details
-
JCJavaVMOption
public JCJavaVMOption(String optionString, ImagePointer extraInfo) throws JCInvalidArgumentsException - Throws:
JCInvalidArgumentsException
-
-
Method Details
-
getOptionString
Description copied from interface:JavaVMOption
Fetch the optionString component of the option.- Specified by:
getOptionString
in interfaceJavaVMOption
- Returns:
- a string representing the optionString. This is never null.
- Throws:
DataUnavailable
CorruptDataException
-
getExtraInfo
Description copied from interface:JavaVMOption
Fetch the extraInfo component of this option.- Specified by:
getExtraInfo
in interfaceJavaVMOption
- Returns:
- the pointer value from the extraInfo (usually null).
- Throws:
DataUnavailable
CorruptDataException
-