Package com._1c.g5.v8.dt.natives.library
Class AbstractScomConnectionLoader
- java.lang.Object
- 
- com._1c.g5.v8.dt.natives.library.AbstractScomConnectionLoader
 
- 
- Direct Known Subclasses:
- ChartImageProvider,- DcsNativeSupportLoader,- FormNativeTransformatorLoader,- MdNativeMobileClientSignLoader,- PictureNativeManagerLoader,- WSDefinitionLoader
 
 public abstract class AbstractScomConnectionLoader extends Object Supporting of initializing and loading SCOM components of V8 platform
- 
- 
Field SummaryFields Modifier and Type Field Description protected static StringLD_LIBRARY_PATHKey for linux system for force loading libraries from concrete path of file systemprotected Versionversion
 - 
Constructor SummaryConstructors Modifier Constructor Description protectedAbstractScomConnectionLoader(IResolvableRuntimeInstallationManager resolvableRuntimeInstallationManager, Version version)Constructor
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String[]getLibraries(String componentName)Gets system libraries for loading SCOM components by its namecomponentNameprotected StringgetMessageException(Exception e)Gets string representation ofExceptionprotected 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 systemprotected PathgetRuntimeInstallation()Gets actual runtime installation of V8 platform in OSprotected Collection<File>getSystemLibraries(Collection<File> libraries)Gets files of system libraries for loading SCOM components.
 
- 
- 
- 
Field Detail- 
LD_LIBRARY_PATHprotected 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
 
 - 
versionprotected final Version version 
 
- 
 - 
Constructor Detail- 
AbstractScomConnectionLoaderprotected AbstractScomConnectionLoader(IResolvableRuntimeInstallationManager resolvableRuntimeInstallationManager, Version version) Constructor- Parameters:
- resolvableRuntimeInstallationManager-- IResolvableRuntimeInstallationfor getting installed V8 platform components, can't be- null
- version- actual- Version, can't be- null
 
 
- 
 - 
Method Detail- 
getProcessEnvironmentsprotected 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 nullif there is no libraries
 
 - 
getSystemLibrariesprotected Collection<File> getSystemLibraries(Collection<File> libraries) Gets files of system libraries for loading SCOM components. If in OS install V8 platform alllibrarieswill 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 librarieswill be replaced to the libraries from this installation, if libraries exist, nevernull
 
 - 
getLibrariesprotected String[] getLibraries(String componentName) Gets system libraries for loading SCOM components by its namecomponentName- 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, nevernull
 
 - 
getRuntimeInstallationprotected Path getRuntimeInstallation() Gets actual runtime installation of V8 platform in OS- Returns:
- path to the runtime installation, can be nullif there is no V8 platform in OS
 
 
- 
 
-