public class ScriptManagerFactory extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static IScriptManager |
defaultScriptManagerInstance |
protected static Hashtable<String,IScriptManager> |
scriptManagerCache |
| Constructor and Description |
|---|
ScriptManagerFactory() |
| Modifier and Type | Method and Description |
|---|---|
static IScriptManager |
getScriptManager(EntityReferenceLocator locator)
Get the default script manager
|
static IScriptManager |
getScriptManager(EntityReferenceLocator locator,
Map<String,String> config) |
static IScriptManager |
getScriptManager(EntityReferenceLocator locator,
String className)
Get the
IScriptManager object. |
static IScriptManager |
getScriptManager(EntityReferenceLocator locator,
String className,
Map<String,String> config) |
static void |
setDefaultScriptManager(IScriptManager scriptManager)
Set the instance of the
IScriptManager to use |
protected static IScriptManager defaultScriptManagerInstance
protected static Hashtable<String,IScriptManager> scriptManagerCache
public static IScriptManager getScriptManager(EntityReferenceLocator locator, String className)
IScriptManager object. If the instance has not been
created yet then create an instance of the specified class.EntityReferenceLocator as parameter.className - public static IScriptManager getScriptManager(EntityReferenceLocator locator, String className, Map<String,String> config)
public static void setDefaultScriptManager(IScriptManager scriptManager)
IScriptManager to usescriptManager - public static IScriptManager getScriptManager(EntityReferenceLocator locator)
public static IScriptManager getScriptManager(EntityReferenceLocator locator, Map<String,String> config)
Copyright © 2016 Imatia Innovation S.L.. All rights reserved.