Class MapProviderManager
java.lang.Object
fr.paris.lutece.plugins.document.business.attributes.MapProviderManager
MapProviderManager : manages all map providers register.
Map providers are discovered and injected using Jakarta CDI. Such providers implement
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 Summary
Modifier and TypeMethodDescriptionstatic IMapProvidergetMapProvider(String strKey) Gets the mapProvider for the provided key.static List<IMapProvider>Builds all available providers list
-
Method Details
-
getMapProvider
Gets the mapProvider for the provided key.- Parameters:
strKey- the key- Returns:
nullifstrKeyis blank, the map provider if found,nullotherwise.- See Also:
-
StringUtils.isBlank(String)
-
getMapProvidersList
Builds all available providers list- Returns:
- all available providers
-