Package com._1c.g5.v8.dt.natives.library
Interface IComponentLoaderManager
-
- All Known Implementing Classes:
DefaultComponentLoaderManager
public interface IComponentLoaderManager
The Interface provides API for managing withIComponentLoader
. Clients should be using implementation of this interface for registering and loading their native components.
-
-
Field Summary
Fields Modifier and Type Field Description static IComponentLoaderManager
INSTANCE
Default implementation
-
Method Summary
All Methods Instance Methods Abstract 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.
-
-
-
Field Detail
-
INSTANCE
static final IComponentLoaderManager INSTANCE
Default implementation
-
-
Method Detail
-
registerComponentLoader
void registerComponentLoader(IComponentLoader loader)
Registers component. Registered component client can be loaded in any time only by name- Parameters:
loader
- registeringIComponentLoader
, can't benull
-
getLibraries
Collection<File> getLibraries(String componentName, Version version)
Gets list of libraries corresponding to the component name and runtime version for early registeredIComponentLoader
- 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
Collection<File> getLibraries(IComponentLoader loader, Version version)
Gets list of libraries corresponding to the component name and runtime version forIComponentLoader
- 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
-
-