it.eng.spagobi.geo.map
Class MapProviderFactory

java.lang.Object
  extended by it.eng.spagobi.geo.map.MapProviderFactory

public class MapProviderFactory
extends java.lang.Object

Factory for the creation of instances of the classes which implements the MapProviderIFace


Constructor Summary
MapProviderFactory()
           
 
Method Summary
static MapProviderIFace getMapProvider(java.lang.String className)
          Creates a new instance of the class identified by the name passed as input.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapProviderFactory

public MapProviderFactory()
Method Detail

getMapProvider

public static MapProviderIFace getMapProvider(java.lang.String className)
                                       throws java.lang.Exception
Creates a new instance of the class identified by the name passed as input. The class must implement the MapProviderIFace

Parameters:
className - The class to create
Returns:
The instace of the class
Throws:
java.lang.Exception - raised if the class don't exist or it isn't an implementation of the MapProviderIFace