Interface ComponentLoader

  • All Known Implementing Classes:
    SpiHelper.ServiceLoaderComponentLoader

    public interface ComponentLoader
    A loader for components that are discovered via SPI.

    This class is internal and is hence not for public use. Its APIs are unstable and can change at any time.

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      <T> java.lang.Iterable<T> load​(java.lang.Class<T> spiClass)
      Load implementations of an SPI.
    • Method Detail

      • load

        <T> java.lang.Iterable<T> load​(java.lang.Class<T> spiClass)
        Load implementations of an SPI.
        Type Parameters:
        T - the SPI type
        Parameters:
        spiClass - the SPI class
        Returns:
        iterable of SPI implementations