fr.paris.lutece.plugins.directory.business
Class MapProviderManager

java.lang.Object
  extended by fr.paris.lutece.plugins.directory.business.MapProviderManager

public final class MapProviderManager
extends java.lang.Object

MapProviderManager : manages all map providers register.
Map providers are registered through SpringContextService.getBeansOfType(java.lang.Class). Such providers implement IMapProvider and need to be declared in a spring context file.

See Also:
IMapProvider, SpringContextService.getBeansOfType(java.lang.Class)

Method Summary
static IMapProvider getMapProvider(java.lang.String strKey)
          Gets the mapProvider for the provided key.
static java.util.List<IMapProvider> getMapProvidersList()
          Builds all available providers list
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getMapProvider

public static IMapProvider getMapProvider(java.lang.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 java.util.List<IMapProvider> getMapProvidersList()
Builds all available providers list

Returns:
all available providers


Copyright © 2012 Mairie de Paris. All Rights Reserved.