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 |
|---|---|
void |
fireAfterDuplicateEvent(MboRemote mbo,
MboRemote dupMbo) |
void |
fireNPExecuteEvent(NonPersistentMboSet npSet) |
void |
fireNPExecuteEvent(NonPersistentMboSet npSet,
MboRemote mboToWorkOn) |
MboRemote |
fireNPSetupEvent(NonPersistentMboSet npSet) |
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.
|
void |
zombieInit(EventMessage msg) |
public static final java.lang.String SCRIPT_LOGGER
public static final MXLogger SCRIPTLOGGER
public java.lang.String getName()
MaximoCachegetName in interface MaximoCachepublic void init()
throws MXException
MaximoCacheinit in interface MaximoCacheMXExceptionpublic void reload()
throws MXException
MaximoCachereload in interface MaximoCacheMXExceptionpublic void reload(java.lang.String key)
throws MXException
MaximoCachereload in interface MaximoCacheMXExceptionpublic ScriptInfo getScriptInfo(java.lang.String name)
public MboRemote fireNPSetupEvent(NonPersistentMboSet npSet) throws MXException
MXExceptionpublic void fireNPExecuteEvent(NonPersistentMboSet npSet, MboRemote mboToWorkOn) throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void fireNPExecuteEvent(NonPersistentMboSet npSet) throws MXException
MXExceptionpublic void fireAfterDuplicateEvent(MboRemote mbo, MboRemote dupMbo) throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void loadScripts()
throws MXException
MXExceptionpublic void loadScriptLaunchPoint()
throws MXException
MXExceptionpublic 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
MXExceptionpublic void loadScriptLaunchPoint(java.lang.String scriptName)
throws MXException
MXExceptionpublic void zombieInit(EventMessage msg) throws MXException
MXException