Package com._1c.g5.v8.dt.natives.library
Class DefaultComponentLoaderManager
- java.lang.Object
-
- com._1c.g5.v8.dt.natives.library.DefaultComponentLoaderManager
-
- All Implemented Interfaces:
IComponentLoaderManager
public class DefaultComponentLoaderManager extends Object implements IComponentLoaderManager
DefaultComponentLoaderManager
implementation ofIComponentLoaderManager
-
-
Field Summary
-
Fields inherited from interface com._1c.g5.v8.dt.natives.library.IComponentLoaderManager
INSTANCE
-
-
Constructor Summary
Constructors Constructor Description DefaultComponentLoaderManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<File>
getLibraries(IComponentLoader loader, Version version)
Gets list of libraries corresponding to the component name and runtime version forIComponentLoader
Collection<File>
getLibraries(String componentName, Version version)
Gets list of libraries corresponding to the component name and runtime version for early registeredIComponentLoader
void
registerComponentLoader(IComponentLoader loader)
Registers component.
-
-
-
Method Detail
-
registerComponentLoader
public void registerComponentLoader(IComponentLoader loader)
Description copied from interface:IComponentLoaderManager
Registers component. Registered component client can be loaded in any time only by name- Specified by:
registerComponentLoader
in interfaceIComponentLoaderManager
- Parameters:
loader
- registeringIComponentLoader
, can't benull
-
getLibraries
public Collection<File> getLibraries(String componentName, Version version)
Description copied from interface:IComponentLoaderManager
Gets list of libraries corresponding to the component name and runtime version for early registeredIComponentLoader
- Specified by:
getLibraries
in interfaceIComponentLoaderManager
- Parameters:
componentName
- name of the early registered component, can't benull
version
- actual runtime version of libraries, can'benull
- Returns:
- list of libraries corresponding to the component name and runtime version, never
null
-
getLibraries
public Collection<File> getLibraries(IComponentLoader loader, Version version)
Description copied from interface:IComponentLoaderManager
Gets list of libraries corresponding to the component name and runtime version forIComponentLoader
- Specified by:
getLibraries
in interfaceIComponentLoaderManager
- Parameters:
loader
- loadingIComponentLoader
, can't benull
version
- actual runtime version of libraries, can'benull
- Returns:
- list of libraries corresponding to the component name and runtime version, never
null
-
-