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.
    • Method Detail

      • registerComponentLoader

        void registerComponentLoader​(IComponentLoader loader)
        Registers component. Registered component client can be loaded in any time only by name
        Parameters:
        loader - registering IComponentLoader, can't be null
      • getLibraries

        Collection<File> getLibraries​(String componentName,
                                      Version version)
        Gets list of libraries corresponding to the component name and runtime version for early registered IComponentLoader
        Parameters:
        componentName - name of the early registered component, can't be null
        version - actual runtime version of libraries, can'be null
        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 for IComponentLoader
        Parameters:
        loader - loading IComponentLoader, can't be null
        version - actual runtime version of libraries, can'be null
        Returns:
        list of libraries corresponding to the component name and runtime version, never null