Class MapProviderManager

java.lang.Object
fr.paris.lutece.plugins.document.business.attributes.MapProviderManager

public final class MapProviderManager extends Object
MapProviderManager : manages all map providers register.
Map providers are discovered and injected using Jakarta CDI. Such providers implement IMapProvider and must be declared as CDI beans (e.g. using @ApplicationScoped, @Dependent, etc.).
See Also:
  • Method Details

    • getMapProvider

      public static IMapProvider getMapProvider(String strKey)
      Gets the mapProvider for the provided key.
      Parameters:
      strKey - the key
      Returns:
      null if strKey is blank, the map provider if found, null otherwise.
      See Also:
      • StringUtils.isBlank(String)
    • getMapProvidersList

      public static List<IMapProvider> getMapProvidersList()
      Builds all available providers list
      Returns:
      all available providers