LibreOffice Module jvmfwk (master) 1
Public Attributes | List of all members
JavaInfo Struct Reference

an instance of this struct represents an installation of a Java Runtime Environment (JRE). More...

#include <framework.hxx>

Public Attributes

OUString sVendor
 contains the vendor. More...
 
OUString sLocation
 contains the file URL to the installation directory. More...
 
OUString sVersion
 contains the version of this Java distribution. More...
 
sal_uInt64 nRequirements
 indicates requirements for running the java runtime. More...
 
rtl::ByteSequence arVendorData
 contains data needed for the creation of the java runtime. More...
 

Detailed Description

an instance of this struct represents an installation of a Java Runtime Environment (JRE).

Instances of this struct are created by the plug-in libraries which are used by this framework (jvmfwk/vendorplugin.h).

Definition at line 202 of file include/jvmfwk/framework.hxx.

Member Data Documentation

◆ arVendorData

rtl::ByteSequence JavaInfo::arVendorData

contains data needed for the creation of the java runtime.

There is no rule about the format and content of the sequence's values. The plug-in libraries can put all data, necessary for starting the java runtime into this sequence.

Definition at line 238 of file include/jvmfwk/framework.hxx.

Referenced by jfw_areEqualJavaInfo(), and jfw::NodeJava::setJavaInfo().

◆ nRequirements

sal_uInt64 JavaInfo::nRequirements

indicates requirements for running the java runtime.

For example, it may be necessary to prepare the environment before the runtime is created. That could mean, setting the LD_LIBRARY_PATH when nRequirements contains the flag JFW_REQUIRE_NEEDRESTART

Definition at line 231 of file include/jvmfwk/framework.hxx.

Referenced by jfw_areEqualJavaInfo(), and jfw::NodeJava::setJavaInfo().

◆ sLocation

OUString JavaInfo::sLocation

contains the file URL to the installation directory.

Definition at line 213 of file include/jvmfwk/framework.hxx.

Referenced by jfw_areEqualJavaInfo(), jfw_startVM(), and jfw::NodeJava::setJavaInfo().

◆ sVendor

OUString JavaInfo::sVendor

contains the vendor.

string must be the same as the one obtained from the Java system property java.vendor.

Definition at line 210 of file include/jvmfwk/framework.hxx.

Referenced by jfw_areEqualJavaInfo(), and jfw::NodeJava::setJavaInfo().

◆ sVersion

OUString JavaInfo::sVersion

contains the version of this Java distribution.

The version string must adhere to the rules about how a version string has to be formed. These rules may be vendor-dependent. Essentially the strings must syntactically equal the Java system property java.version.

Definition at line 222 of file include/jvmfwk/framework.hxx.

Referenced by jfw_areEqualJavaInfo(), and jfw::NodeJava::setJavaInfo().


The documentation for this struct was generated from the following file: