Module org.elasticsearch.server
Class StablePluginsRegistry
java.lang.Object
org.elasticsearch.plugins.scanners.StablePluginsRegistry
A registry of classes declared by plugins as named components.
Named components are classes annotated with @NamedComponent(name) and can be referred later by a name given in this annotation.
Named components implement/extend Extensibles (classes/interfaces marked with @Extensible)
-
Constructor Summary
ConstructorsConstructorDescriptionStablePluginsRegistry
(NamedComponentReader namedComponentReader, Map<String, NameToPluginInfo> namedComponents) -
Method Summary
Modifier and TypeMethodDescriptiongetPluginInfosForExtensible
(String extensibleClassName) void
scanBundleForStablePlugins
(PluginBundle bundle, ClassLoader pluginClassLoader)
-
Constructor Details
-
StablePluginsRegistry
public StablePluginsRegistry() -
StablePluginsRegistry
public StablePluginsRegistry(NamedComponentReader namedComponentReader, Map<String, NameToPluginInfo> namedComponents)
-
-
Method Details
-
scanBundleForStablePlugins
-
getPluginInfosForExtensible
-