Package com._1c.g5.v8.dt.natives.library
Interface IComponentLoaderManager
-
- All Known Implementing Classes:
DefaultComponentLoaderManager
public interface IComponentLoaderManagerThe 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 IComponentLoaderManagerINSTANCEDefault 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 forIComponentLoaderCollection<File>getLibraries(String componentName, Version version)Gets list of libraries corresponding to the component name and runtime version for early registeredIComponentLoadervoidregisterComponentLoader(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 benullversion- 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 benullversion- actual runtime version of libraries, can'benull- Returns:
- list of libraries corresponding to the component name and runtime version, never
null
-
-