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 Summary
Fields 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 Summary
Constructors Modifier Constructor Description protectedAbstractScomConnectionLoader(IResolvableRuntimeInstallationManager resolvableRuntimeInstallationManager, Version version)Constructor
-
Method Summary
All 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_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
-
-
Constructor Detail
-
AbstractScomConnectionLoader
protected AbstractScomConnectionLoader(IResolvableRuntimeInstallationManager resolvableRuntimeInstallationManager, Version version)
Constructor- Parameters:
resolvableRuntimeInstallationManager-IResolvableRuntimeInstallationfor getting installed V8 platform components, can't benullversion- actualVersion, can't benull
-
-
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 benull- Returns:
- eviromental variable key and its value, can be
nullif 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 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
-
getLibraries
protected 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 benull- Returns:
- name of the system libraries for loading SCOM components by its name
componentName, nevernull
-
getRuntimeInstallation
protected 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
-
-