Package org.gvsig.gpe.lib.spi
Class GPEProviderLocator
java.lang.Object
org.gvsig.tools.locator.AbstractLocator
org.gvsig.gpe.lib.spi.GPEProviderLocator
- All Implemented Interfaces:
org.gvsig.tools.locator.Locator,org.gvsig.tools.locator.Locator_withExists
public class GPEProviderLocator
extends org.gvsig.tools.locator.AbstractLocator
- Author:
- Jorge Piera
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringGPEManager name used by the locator to access the instance -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic GPEProviderManagerReturn a reference toGPEProviderManager.static GPEProviderLocatorReturn the singleton instance.static voidregisterGPEProviderManager(Class clazz) Registers the Class implementing theGPEProviderManagerinterface.Methods inherited from class org.gvsig.tools.locator.AbstractLocator
exists, get, getNames, register, register, register, register, registerDefault, registerDefault, toString
-
Field Details
-
GPE_PROVIDER_MANAGER_NAME
GPEManager name used by the locator to access the instance- See Also:
-
-
Constructor Details
-
GPEProviderLocator
public GPEProviderLocator()
-
-
Method Details
-
getLocatorName
-
getGPEProviderManager
public static GPEProviderManager getGPEProviderManager() throws org.gvsig.tools.locator.LocatorExceptionReturn a reference toGPEProviderManager.- Returns:
- a reference to GPEProviderManager
- 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
-
registerGPEProviderManager
Registers the Class implementing theGPEProviderManagerinterface.- Parameters:
clazz- implementing the GPEProviderManager interface
-