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 registered through SpringContextService.getBeansOfType(java.lang.Class<T>). Such providers implement IMapProvider and need to be declared in a spring context file.
See Also:
  • IMapProvider
  • SpringContextService.getBeansOfType(java.lang.Class<T>)
  • 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