Interface IComponentDescription

All Known Subinterfaces:
IComponentLoader
All Known Implementing Classes:
AbstractComponentDescription, CairoComponentDescription, ChartComponentDescription, ChartPlatformComponentDescription, DcsNativeComponentDescription, DcsNativePlatformComponentDescription, FormNativeComponentDescription, FormNativePlatformComponentDescription, IcuComponentDescription, ImageMagicComponentDescription, LibUnwindComponentDescription, LzPlatformComponentDescription, MallocLibComponentDescription, MdNativeComponentDescription, MdNativePlatformComponentDescription, NgHttpPlatformComponentDescription, OpenJpPlatformComponentDescription, PictureNativeComponentDescription, PlatformComponentDescription, StdLibCPlusPlusComponentDescription, WSDefinitionComponentDescription, WSDefinitionPlatformComponentDescription

public interface IComponentDescription
Interface of description native libraries component.
This interface provides useful API for resolving pathes to the component libraries in file system

Also clients can implements IComponentExtraDependenciesProvider for adding extra dependencies to the component

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Checks for existing of all files corresponding to the libraries resources including to the defining component.
    Gets component name.
    Gets all files corresponding to the libraries including to the defining component
  • Method Details

    • getComponentName

      String getComponentName()
      Gets component name. Each components should be have unique name if you want use it with IComponentLoaderManager
      Returns:
      unique name of the native component, never null
    • getLibraries

      Collection<File> getLibraries(Version version)
      Gets all files corresponding to the libraries including to the defining component
      Parameters:
      version - actual runtime version of libraries, can'be null
      Returns:
      list of libraries, never null
    • checkLibraryResources

      void checkLibraryResources(Version version)
      Checks for existing of all files corresponding to the libraries resources including to the defining component. If some resources weren't found RuntimeException will be thrown.
      Parameters:
      version - actual runtime version of libraries, can'be null