javax.tools.diagnostics.runtime.java
Interface JavaVMOption


public interface JavaVMOption

This class models the JavaVMOption C structures passed to the JNI invocation API entry point JNI_CreateJavaVM used to create a Java Virtual Machine. Each JavaVMOption consists of two components :

  1. an optionString string, used to identify the option.
  2. an extraInfo pointer, used to pass additional information. This component is usually null.


Method Summary
 ImagePointer getExtraInfo()
          Fetch the extraInfo component of this option.
 java.lang.String getOptionString()
          Fetch the optionString component of the option.
 

Method Detail

getOptionString

java.lang.String getOptionString()
                                 throws DataUnavailable,
                                        CorruptDataException
Fetch the optionString component of the option.

Returns:
a string representing the optionString. This is never null.
Throws:
DataUnavailable
CorruptDataException

getExtraInfo

ImagePointer getExtraInfo()
                          throws DataUnavailable,
                                 CorruptDataException
Fetch the extraInfo component of this option.

Returns:
the pointer value from the extraInfo (usually null).
Throws:
DataUnavailable
CorruptDataException


Copyright © 2010. All Rights Reserved.