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