Module org.elasticsearch.server
Class NamedComponentReader
java.lang.Object
org.elasticsearch.plugins.scanners.NamedComponentReader
Reads named components declared by a plugin in a cache file.
Cache file is expected to be present in plugin's lib directory
The content of a cache file is a JSON representation of a map where: keys -> name of the extensible interface (a class/interface marked with @Extensible) values -> a map of name to implementation class name
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfindNamedComponents
(PluginBundle bundle, ClassLoader pluginClassLoader)
-
Constructor Details
-
NamedComponentReader
public NamedComponentReader()
-
-
Method Details
-
findNamedComponents
public Map<String,NameToPluginInfo> findNamedComponents(PluginBundle bundle, ClassLoader pluginClassLoader)
-