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

    Modifier and Type
    Method
    Description
    <T> Iterable<T>
    load(Class<T> spiClass)
    Load implementations of an SPI.
  • Method Details

    • load

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