Package org.gvsig.vcsgis.lib
Class VCSGisLocator
java.lang.Object
org.gvsig.tools.locator.AbstractLocator
org.gvsig.vcsgis.lib.VCSGisLocator
- All Implemented Interfaces:
org.gvsig.tools.locator.Locator,org.gvsig.tools.locator.Locator_withExists
public class VCSGisLocator
extends org.gvsig.tools.locator.AbstractLocator
- Author:
- fdiaz
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.gvsig.tools.locator.Locatorstatic VCSGisManagerstatic VCSGisManagerReturn a reference to local VCSGisManager.static voidRegisters the default Class implementing the VCSGisRepositoryManager interfacestatic voidregisterVCSGisManager(Class clazz) Registers the Class implementing the VCSGisManager interface.Methods inherited from class org.gvsig.tools.locator.AbstractLocator
exists, get, getNames, register, register, register, register, registerDefault, registerDefault, toString
-
Field Details
-
VCSGIS_MANAGER_NAME
- See Also:
-
-
Constructor Details
-
VCSGisLocator
public VCSGisLocator()
-
-
Method Details
-
getInstance
public static org.gvsig.tools.locator.Locator getInstance() -
getLocatorName
-
getManager
- Throws:
org.gvsig.tools.locator.LocatorException
-
registerVCSGisManager
Registers the Class implementing the VCSGisManager interface.- Parameters:
clazz- implementing the VCSGisManager interface
-
registerDefaultVCSGisManager
Registers the default Class implementing the VCSGisRepositoryManager interface- Parameters:
clazz- implementing the VCSGisRepositoryManager interface
-
getVCSGisManager
Return a reference to local VCSGisManager.- Returns:
- a reference to VCSGisManager
- Throws:
org.gvsig.tools.locator.LocatorException- if there is no access to the class or the class cannot be instantiated- See Also:
-