Package org.gvsig.scripting
Class ScriptingLocator
java.lang.Object
org.gvsig.tools.locator.AbstractLocator
org.gvsig.tools.locator.BaseLocator
org.gvsig.scripting.ScriptingLocator
- All Implemented Interfaces:
org.gvsig.tools.locator.Locator,org.gvsig.tools.locator.Locator_withExists
public class ScriptingLocator
extends org.gvsig.tools.locator.BaseLocator
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ScriptingLocatorReturn the singleton instance.Return the Locator's namestatic ScriptingManagerReturn a reference to ScriptManager.static voidregisterManager(Class<? extends ScriptingManager> clazz) Registers the Class implementing the ScriptManager interface.Methods inherited from class org.gvsig.tools.locator.AbstractLocator
exists, get, getNames, register, register, register, register, registerDefault, registerDefault, toString
-
Field Details
-
MANAGER_NAME
- See Also:
-
MANAGER_DESCRIPTION
- See Also:
-
-
Constructor Details
-
ScriptingLocator
public ScriptingLocator()
-
-
Method Details
-
getInstance
Return the singleton instance.- Returns:
- the singleton instance
-
getLocatorName
Return the Locator's name- Specified by:
getLocatorNamein interfaceorg.gvsig.tools.locator.Locator- Overrides:
getLocatorNamein classorg.gvsig.tools.locator.BaseLocator- Returns:
- a String with the Locator's name
-
getManager
Return a reference to ScriptManager.- Returns:
- a reference to ScriptManager
- Throws:
org.gvsig.tools.locator.LocatorException- if there is no access to the class or the class cannot be instantiated- See Also:
-
registerManager
Registers the Class implementing the ScriptManager interface.- Parameters:
clazz- implementing the ScriptManager interface
-