public class InteractionCacheImpl extends java.lang.Object implements MaximoCache
Constructor and Description |
---|
InteractionCacheImpl() |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,InteractionInfo> |
getAllInteractions()
Get all the defined interactions
InteractionInfo objects
|
InteractionInfo |
getInteractionInfo(java.lang.String name)
Get the InteractionInfo object
|
InteractionInfo |
getInteractionInfo(java.lang.String sigoption,
java.lang.String appname)
Get the InteractionInfo object for SigOption name and Application Name
|
InteractionInfo |
getInteractionInfo(java.lang.String mainObjectName,
java.lang.String relation,
java.lang.String topObject)
Get the InteractionInfo object for Request Relation, Name of Main object for request
and Application Main Object Name
|
java.lang.String |
getName()
Returns the name as registered in Maximo Cache
|
void |
init()
Initialize the EndPointCache
|
void |
reload()
Refresh the EndPointCache
|
void |
reload(java.lang.String key)
Reload a paricular key in memory.
|
public void init() throws MXException
init
in interface MaximoCache
MXException
- Maximo Exceptionpublic void reload() throws MXException
reload
in interface MaximoCache
MXException
- Maximo Exceptionpublic void reload(java.lang.String key) throws MXException
reload
in interface MaximoCache
key
- to reloadMXException
- Maximo Exceptionpublic java.lang.String getName()
getName
in interface MaximoCache
public java.util.Map<java.lang.String,InteractionInfo> getAllInteractions()
public InteractionInfo getInteractionInfo(java.lang.String name)
name
- interaction namepublic InteractionInfo getInteractionInfo(java.lang.String sigoption, java.lang.String appname)
sigoption
- signature option nameappname
- application namepublic InteractionInfo getInteractionInfo(java.lang.String mainObjectName, java.lang.String relation, java.lang.String topObject) throws MXException
mainObjectName
- interaction main object namerelation
- request relation nametopObject
- name of top MBo in request OSMXException