Runtime access to the UserJVMOptions.
This class is not typically available in the Java Runtime, you must
explicitly include the 'jdk.packager.services' module from the jmod directory
of the JDK as part of your application bundle.
Get the instance of UserJvmOptionService to use. Which one to use is
configured by the packager and the launcher. Do not directly
instantiate any instance of this interface, use this method to get
an appropriate instance.
Returns:
the instance of UserJvmOptionsService for your application.
The "current" set of UserJVMOptions.
This will take effect on the next application start, and this may not
reflect the current set of UserJVMOptions used to start this application.
Returns:
A map of the keys and values. Alterations to this map will not
change the stored UserJVMOptions
Sets the passed in options as the UserJVMOptions.
If the application has specified default values and those keys are not
in this map, they will be replaced by the default values.
No validation or error checking is performed on these values. It is
entirely possible that you may provide a set of UserJVMOptions that
may prevent the normal startup of your application and may require
manual intervention to resolve.