Package org.opensearch.plugins
Interface ExtensiblePlugin.ExtensionLoader
- Enclosing interface:
ExtensiblePlugin
public static interface ExtensiblePlugin.ExtensionLoader
Extension point for external plugins to be extendable
- Opensearch.api:
-
Method Summary
Modifier and TypeMethodDescription<T> List
<T> loadExtensions
(Class<T> extensionPointType) Load extensions of the type from all extending plugins.
-
Method Details
-
loadExtensions
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.
-