Package org.apache.solr.pkg
Class PackagePluginHolder<T>
- java.lang.Object
-
- org.apache.solr.core.PluginBag.PluginHolder<T>
-
- org.apache.solr.pkg.PackagePluginHolder<T>
-
- All Implemented Interfaces:
AutoCloseable
,Supplier<T>
- Direct Known Subclasses:
StreamHandler.ExpressibleHolder
public class PackagePluginHolder<T> extends PluginBag.PluginHolder<T>
-
-
Field Summary
Fields Modifier and Type Field Description static String
LATEST
-
Fields inherited from class org.apache.solr.core.PluginBag.PluginHolder
inst, pluginInfo
-
-
Constructor Summary
Constructors Constructor Description PackagePluginHolder(PluginInfo info, SolrCore core, SolrConfig.SolrPluginInfo pluginMeta)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <T> PluginBag.PluginHolder<T>
createHolder(PluginInfo info, SolrCore core, Class<T> type, String msg)
static <T> PluginBag.PluginHolder<T>
createHolder(T inst, Class<T> type)
protected Object
initNewInstance(PackageLoader.Package.Version newest, SolrCore core)
-
Methods inherited from class org.apache.solr.core.PluginBag.PluginHolder
close, get, getClassName, getInstance, getPluginInfo, isLoaded, toString
-
-
-
-
Field Detail
-
LATEST
public static final String LATEST
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PackagePluginHolder
public PackagePluginHolder(PluginInfo info, SolrCore core, SolrConfig.SolrPluginInfo pluginMeta)
-
-
Method Detail
-
createHolder
public static <T> PluginBag.PluginHolder<T> createHolder(T inst, Class<T> type)
-
createHolder
public static <T> PluginBag.PluginHolder<T> createHolder(PluginInfo info, SolrCore core, Class<T> type, String msg)
-
initNewInstance
protected Object initNewInstance(PackageLoader.Package.Version newest, SolrCore core)
-
-