public class ExtSystemCache extends java.lang.Object implements MaximoMTEnabledCache
Modifier and Type | Method and Description |
---|---|
java.util.Map |
getAllSystems()
Gets all systems info
|
MaximoCache |
getCache()
Return the maximo cache instance.
|
ExtSystemInfo |
getExtSystemInfo(java.lang.String name)
Gets the info object for the specific external system
|
static ExtSystemCache |
getInstance()
Always use one instance of ExtSystem.
|
java.lang.String |
getName()
Returns the name as registered in Maximo Cache
|
void |
init()
Initialze the DD loading
|
boolean |
isAnyExtSystemEnabled()
Returns whether any external system is enabled
|
boolean |
isExtSystemEnabled(java.lang.String sysname)
Returns whether the given external system is enabled or not
|
boolean |
isLoaded() |
void |
reload()
Refresh the External System DD
|
void |
reload(java.lang.String key)
Re-load a particular key in Maximo Cache.
|
public static ExtSystemCache getInstance() throws MXException
MXException
- MAXIMO exceptionpublic void init() throws MXException
init
in interface MaximoCache
MXException
- Maximo Exceptionpublic void reload(java.lang.String key) throws MXException
reload
in interface MaximoCache
key
- keyMXException
- Maximo Exceptionpublic java.lang.String getName()
getName
in interface MaximoCache
public java.util.Map getAllSystems()
public ExtSystemInfo getExtSystemInfo(java.lang.String name)
name
- External System namepublic boolean isExtSystemEnabled(java.lang.String sysname)
sysname
- external system namepublic boolean isAnyExtSystemEnabled()
public void reload() throws MXException
reload
in interface MaximoCache
MXException
- MAXIMO Exceptionjava.rmi.RemoteException
- Remote Exceptionpublic MaximoCache getCache()
MaximoMTEnabledCache
getCache
in interface MaximoMTEnabledCache
public boolean isLoaded()
isLoaded
in interface MaximoMTEnabledCache