public class ScriptingLocator extends BaseLocator
Modifier and Type | Field and Description |
---|---|
static String |
MANAGER_DESCRIPTION |
static String |
MANAGER_NAME |
Constructor and Description |
---|
ScriptingLocator() |
Modifier and Type | Method and Description |
---|---|
static ScriptingLocator |
getInstance()
Return the singleton instance.
|
String |
getLocatorName()
Return the Locator's name
|
static ScriptingManager |
getManager()
Return a reference to ScriptManager.
|
static void |
registerManager(Class<? extends ScriptingManager> clazz)
Registers the Class implementing the ScriptManager interface.
|
exists, get, getNames, register, register, register, register, registerDefault, registerDefault, toString
public static final String MANAGER_NAME
public static final String MANAGER_DESCRIPTION
public static ScriptingLocator getInstance()
public String getLocatorName()
getLocatorName
in interface Locator
getLocatorName
in class BaseLocator
public static ScriptingManager getManager() throws LocatorException
LocatorException
- if there is no access to the class or the class cannot be
instantiatedLocator.get(String)
public static void registerManager(Class<? extends ScriptingManager> clazz)
clazz
- implementing the ScriptManager interface