Package org.gvsig.gpe.lib.api
Class GPELocator
java.lang.Object
org.gvsig.tools.locator.AbstractLocator
org.gvsig.gpe.lib.api.GPELocator
- All Implemented Interfaces:
org.gvsig.tools.locator.Locator,org.gvsig.tools.locator.Locator_withExists
public class GPELocator
extends org.gvsig.tools.locator.AbstractLocator
This Locator provides the entry point for the gvSIG
GPEManager- Author:
- Jorge Piera
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic GPEManagerReturn a reference toGPEManager.static GPELocatorReturn the singleton instance.static voidregisterGPEManager(Class clazz) Registers the Class implementing theGPEManagerinterface.Methods inherited from class org.gvsig.tools.locator.AbstractLocator
exists, get, getNames, register, register, register, register, registerDefault, registerDefault, toString
-
Field Details
-
GPE_MANAGER_NAME
GPEManager name used by the locator to access the instance- See Also:
-
GPE_DATATYPES_MANAGER_NAME
GPEDatatTypesManager name used by the locator to access the instance- See Also:
-
-
Constructor Details
-
GPELocator
public GPELocator()
-
-
Method Details
-
getLocatorName
-
getGPEManager
Return a reference toGPEManager.- Returns:
- a reference to GPEManager
- Throws:
org.gvsig.tools.locator.LocatorException- if there is no access to the class or the class cannot be instantiated- See Also:
-
getInstance
Return the singleton instance.- Returns:
- the singleton instance
-
registerGPEManager
Registers the Class implementing theGPEManagerinterface.- Parameters:
clazz- implementing the GeometryManager interface
-