Interface ExtensiblePlugin.ExtensionLoader

Enclosing interface:
ExtensiblePlugin

public static interface ExtensiblePlugin.ExtensionLoader
  • Method Summary

    Modifier and Type
    Method
    Description
    <T> List<T>
    loadExtensions(Class<T> extensionPointType)
    Load extensions of the type from all extending plugins.
  • Method Details

    • loadExtensions

      <T> List<T> loadExtensions(Class<T> extensionPointType)
      Load extensions of the type from all extending plugins. The concrete extensions must have either a no-arg constructor or a single-arg constructor accepting the specific plugin class.
      Type Parameters:
      T - extension point type
      Parameters:
      extensionPointType - the extension point type
      Returns:
      all implementing extensions.