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
Supporting of initializing and loading SCOM components of V8 platform
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
AbstractScomConnectionLoader
(IResolvableRuntimeInstallationManager resolvableRuntimeInstallationManager, Version version) Constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected String[]
getLibraries
(String componentName) Gets system libraries for loading SCOM components by its namecomponentName
protected String
Gets string representation ofException
getProcessEnvironments
(String[] libraries) Creates enviromental variable for linux OS for force loading libraries from concrete path of file systemprotected Path
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 Details
-
LD_LIBRARY_PATH
Key for linux system for force loading libraries from concrete path of file system- See Also:
-
version
-
-
Constructor Details
-
AbstractScomConnectionLoader
protected AbstractScomConnectionLoader(IResolvableRuntimeInstallationManager resolvableRuntimeInstallationManager, Version version) Constructor- Parameters:
resolvableRuntimeInstallationManager
-IResolvableRuntimeInstallation
for getting installed V8 platform components, can't benull
version
- actualVersion
, can't benull
-
-
Method Details
-
getProcessEnvironments
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
null
if there is no libraries
-
getSystemLibraries
Gets files of system libraries for loading SCOM components. If in OS install V8 platform alllibraries
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, nevernull
-
getLibraries
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
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
Gets string representation ofException
-