public class ScriptingLocator extends BaseLocator
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
MANAGER_DESCRIPTION |
static java.lang.String |
MANAGER_NAME |
Constructor and Description |
---|
ScriptingLocator() |
Modifier and Type | Method and Description |
---|---|
static ScriptingLocator |
getInstance()
Return the singleton instance.
|
java.lang.String |
getLocatorName()
Return the Locator's name
|
static ScriptingManager |
getManager()
Return a reference to ScriptManager.
|
static void |
registerManager(java.lang.Class<? extends ScriptingManager> clazz)
Registers the Class implementing the ScriptManager interface.
|
exists, get, getNames, register, register, register, register, registerDefault, registerDefault, toString
public static final java.lang.String MANAGER_NAME
public static final java.lang.String MANAGER_DESCRIPTION
public static ScriptingLocator getInstance()
public java.lang.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(java.lang.Class<? extends ScriptingManager> clazz)
clazz
- implementing the ScriptManager interface