Class AbstractScomConnectionLoader

    • Field Detail

      • LD_LIBRARY_PATH

        protected static final String LD_LIBRARY_PATH
        Key for linux system for force loading libraries from concrete path of file system
        See Also:
        Constant Field Values
      • version

        protected final Version version
    • Method Detail

      • getProcessEnvironments

        protected org.eclipse.xtext.util.Pair<String,​String> getProcessEnvironments​(String[] libraries)
        Creates enviromental variable for linux OS for force loading libraries from concrete path of file system
        Parameters:
        libraries - pathes to the libraries, can't be null
        Returns:
        eviromental variable key and its value, can be null if there is no libraries
      • getSystemLibraries

        protected Collection<File> getSystemLibraries​(Collection<File> libraries)
        Gets files of system libraries for loading SCOM components. If in OS install V8 platform all libraries will be replaced to the libraries from this installation, if libraries exist
        Parameters:
        libraries - initial system libraries for loading SCOM components
        Returns:
        files of system libraries for loading SCOM components. If in OS install V8 platform all libraries will be replaced to the libraries from this installation, if libraries exist, never null
      • getLibraries

        protected String[] getLibraries​(String componentName)
        Gets system libraries for loading SCOM components by its name componentName
        Parameters:
        componentName - name of the component for loading SCOM, can't be null
        Returns:
        name of the system libraries for loading SCOM components by its name componentName, never null
      • getRuntimeInstallation

        protected Path getRuntimeInstallation()
        Gets actual runtime installation of V8 platform in OS
        Returns:
        path to the runtime installation, can be null if there is no V8 platform in OS
      • getMessageException

        protected String getMessageException​(Exception e)
        Gets string representation of Exception
        Parameters:
        e - Exception for getting text, can't be null
        Returns:
        string representation of Exception, can be null if there is no message