Class NamedRegistry<T>

org.elasticsearch.common.NamedRegistry<T>

public class NamedRegistry<T> extends
A registry from String to some class implementation. Used to ensure implementations are registered only once.
  • Constructor Summary

    Constructors
    Constructor
    Description
     targetName)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    <P> void
    <P> plugins, <P,​<,​T>> lookup)
     
    <,​T>
     
    void
     name, T t)
     

    Methods inherited from class java.lang.

    , , , , , , , , , ,
  • Constructor Details

    • NamedRegistry

      public NamedRegistry( targetName)
  • Method Details

    • getRegistry

      public <,​T> getRegistry()
    • register

      public void register( name, T t)
    • extractAndRegister

      public <P> void extractAndRegister(<P> plugins, <P,​<,​T>> lookup)