public class EnterpriseServiceDetailCache extends java.lang.Object implements MaximoMTEnabledCache
| Modifier and Type | Method and Description |
|---|---|
MaximoCache |
getCache()
Return the maximo cache instance.
|
EnterpriseServiceInfo |
getEnterpriseServiceInfo(java.lang.String srv,
java.lang.String mosName)
Get a specific EnterpriseServiceInfo object for the given
service named and object structure name combination.
|
java.util.List<EnterpriseServiceInfo> |
getEnterpriseServiceList(java.lang.String srv)
Get a List of EnterpriseServiceInfo objects for this service name
|
static EnterpriseServiceDetailCache |
getInstance()
Always use one instance of EnterpriseServiceDetailCache
|
java.lang.String |
getName()
Returns the name as registered in Maximo Cache
|
void |
init()
Initialization of EnterpriseServiceDetailCache
|
boolean |
isLoaded() |
void |
reload()
Refresh this object in memory
|
void |
reload(java.lang.String key)
Reload a paricular key in memory.
|
public static EnterpriseServiceDetailCache getInstance() throws MXException
MXException - MAXIMO exceptionpublic void init()
throws MXException
init in interface MaximoCacheMXException - MAXIMO exceptionpublic void reload()
throws MXException
reload in interface MaximoCacheMXException - MAXIMO exceptionpublic void reload(java.lang.String key)
throws MXException
reload in interface MaximoCachekey - key to reloadMXException - Maximo Exceptionpublic java.lang.String getName()
getName in interface MaximoCachepublic java.util.List<EnterpriseServiceInfo> getEnterpriseServiceList(java.lang.String srv)
public EnterpriseServiceInfo getEnterpriseServiceInfo(java.lang.String srv, java.lang.String mosName)
srv - Enterprise Service namemosName - Object Structure namepublic MaximoCache getCache()
MaximoMTEnabledCachegetCache in interface MaximoMTEnabledCachepublic boolean isLoaded()
isLoaded in interface MaximoMTEnabledCache