Package org.elasticsearch.plugins
Interface ExtensiblePlugin.ExtensionLoader
- Enclosing interface:
- ExtensiblePlugin
public static interface ExtensiblePlugin.ExtensionLoader
-
Method Summary
Modifier and TypeMethodDescription<T> <T>
<T> extensionPointType)
Load extensions of the type from all extending plugins.
-
Method Details
-
loadExtensions
<T> <T> loadExtensions(<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.
-