public class ScriptCacheImpl extends java.lang.Object implements MaximoCache
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
SCRIPT_LOGGER |
static MXLogger |
SCRIPTLOGGER |
Constructor and Description |
---|
ScriptCacheImpl() |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,ScriptInfo> |
getAllScripts() |
java.lang.String |
getName()
Returns the name of the cache object.
|
java.lang.String[] |
getObjectScriptAndLPFor(java.lang.String objectName,
long objectEvent) |
ScriptInfo |
getScriptInfo(java.lang.String name) |
void |
init()
Initialize the cache object.
|
void |
loadScript(java.lang.String scriptName) |
void |
loadScriptLaunchPoint() |
void |
loadScriptLaunchPoint(java.lang.String scriptName) |
void |
loadScripts() |
void |
reload()
Reloads the cache object.
|
void |
reload(java.lang.String key)
Initialize a specific component of the cache identified by the key.
|
public static final java.lang.String SCRIPT_LOGGER
public static final MXLogger SCRIPTLOGGER
public java.lang.String getName()
MaximoCache
getName
in interface MaximoCache
public void init() throws MXException
MaximoCache
init
in interface MaximoCache
MXException
public void reload() throws MXException
MaximoCache
reload
in interface MaximoCache
MXException
public void reload(java.lang.String key) throws MXException
MaximoCache
reload
in interface MaximoCache
MXException
public ScriptInfo getScriptInfo(java.lang.String name)
public void loadScripts() throws MXException
MXException
public void loadScriptLaunchPoint() throws MXException
MXException
public java.lang.String[] getObjectScriptAndLPFor(java.lang.String objectName, long objectEvent)
public java.util.Map<java.lang.String,ScriptInfo> getAllScripts()
public void loadScript(java.lang.String scriptName) throws MXException
MXException
public void loadScriptLaunchPoint(java.lang.String scriptName) throws MXException
MXException