it.eng.spagobi.engines.geo
Class GeoEngineComponentFactory

java.lang.Object
  extended by it.eng.spagobi.engines.geo.GeoEngineComponentFactory

public class GeoEngineComponentFactory
extends java.lang.Object

The Class GeoEngineComponentFactory.

Author:
Andrea Gioia (andrea.gioia@eng.it)

Field Summary
static org.apache.log4j.Logger logger
          Logger component.
 
Constructor Summary
GeoEngineComponentFactory()
           
 
Method Summary
static IGeoEngineComponent build(java.lang.String geoEngineComponentClassName, java.lang.Object conf, java.util.Map env)
          Builds the.
static IDataMartProvider buildDataMartProvider(it.eng.spago.base.SourceBean template, java.util.Map env)
          Builds the dataset provider.
static IMapProvider buildMapProvider(it.eng.spago.base.SourceBean template, java.util.Map env)
          Builds the map provider.
static IMapRenderer buildMapRenderer(it.eng.spago.base.SourceBean template, java.util.Map env)
          Builds the map renderer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

public static transient org.apache.log4j.Logger logger
Logger component.

Constructor Detail

GeoEngineComponentFactory

public GeoEngineComponentFactory()
Method Detail

build

public static IGeoEngineComponent build(java.lang.String geoEngineComponentClassName,
                                        java.lang.Object conf,
                                        java.util.Map env)
                                 throws GeoEngineException
Builds the.

Parameters:
geoEngineComponentClassName - the geo engine component class name
conf - the conf
env - the env
Returns:
the i geo engine component
Throws:
GeoEngineException - the geo engine exception

buildMapProvider

public static IMapProvider buildMapProvider(it.eng.spago.base.SourceBean template,
                                            java.util.Map env)
                                     throws GeoEngineException
Builds the map provider.

Parameters:
template - the template
env - the env
Returns:
the i map provider
Throws:
GeoEngineException - the geo engine exception

buildMapRenderer

public static IMapRenderer buildMapRenderer(it.eng.spago.base.SourceBean template,
                                            java.util.Map env)
                                     throws GeoEngineException
Builds the map renderer.

Parameters:
template - the template
env - the env
Returns:
the i map renderer
Throws:
GeoEngineException - the geo engine exception

buildDataMartProvider

public static IDataMartProvider buildDataMartProvider(it.eng.spago.base.SourceBean template,
                                                      java.util.Map env)
                                               throws GeoEngineException
Builds the dataset provider.

Parameters:
template - the template
env - the env
Returns:
the i dataset provider
Throws:
GeoEngineException - the geo engine exception