Interface ExtensiblePlugin


public interface ExtensiblePlugin
An extension point for Plugin implementations to be themselves extensible.

This class provides a callback for extensible plugins to be informed of other plugins which extend them.

Opensearch.api:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    Extension point for external plugins to be extendable
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    Allow this plugin to load extensions from other plugins.
  • Method Details

    • loadExtensions

      default void loadExtensions(ExtensiblePlugin.ExtensionLoader loader)
      Allow this plugin to load extensions from other plugins.

      This method is called once only, after initializing this plugin and all plugins extending this plugin. It is called before any other methods on this Plugin instance are called.