Interface System
access this type via: System (provides, requires or uses)
Functions
byte[] getVMType()
byte[] getHostType()
int getVersion()
PlatformInfo getPlatform()
int getLibAPIVersion()
int getFrameworkVersion()
char[] getDanaHome()
String[] getSearchPaths()
String[] getAutoBindings()
byte[] getVMType()
Get the VM's 'type' code, which must match the object type information of loaded components.
byte[] getHostType()
Get the VM's 'host' code, which must match the object type information of loaded components.
int getVersion()
Get the VM's version number.
PlatformInfo getPlatform()
Host platform identifier codes.
int getLibAPIVersion()
Get the VM's native library API version number.
int getFrameworkVersion()
Get the language platform's version number. These are major releases.
char[] getDanaHome()
Get the install directory of Dana (affected e.g. by the -dh parameter, or the DANA_HOME environment variable). It is always better to use this function instead of directly reading environment variables.
String[] getSearchPaths()
Get the list of search paths used by the Dana virtual machine when looking for components (affected e.g. by the -sp parameter).
String[] getAutoBindings()
Get the list of required interfaces (including package paths) that the virtual machine will automatically wire (to itself).