public class PublishChannelCache extends java.lang.Object implements MaximoMTEnabledCache
Modifier and Type | Method and Description |
---|---|
MaximoCache |
getCache()
Return the maximo cache instance.
|
java.util.List<java.lang.String> |
getChannelsForIfaceTb(java.lang.String ifacetbName) |
static PublishChannelCache |
getInstance() |
java.lang.String |
getName()
Returns the name of the cache object.
|
PublishChannel |
getPublishChannel(java.lang.String pubChannelName) |
java.util.Map<java.lang.String,PublishChannel> |
getPublishChannelMap() |
PublishInfo |
getPublishInfo(java.lang.String pubChannelName) |
void |
init()
Initialize the cache object.
|
boolean |
isLoaded() |
void |
reload()
Reloads the cache object.
|
void |
reload(java.lang.String key)
Initialize a specific component of the cache identified by the key.
|
void |
unregisterAllListeners() |
void |
unregisterListeners(java.lang.String pubChannelName) |
public PublishInfo getPublishInfo(java.lang.String pubChannelName)
pubChannelName
- public java.util.List<java.lang.String> getChannelsForIfaceTb(java.lang.String ifacetbName)
ifacetbName
- the interface table namepublic void init() throws MXException
init
in interface MaximoCache
MXException
public void reload() throws MXException
reload
in interface MaximoCache
MXException
public void reload(java.lang.String key) throws MXException
reload
in interface MaximoCache
key
- MXException
public java.lang.String getName()
getName
in interface MaximoCache
public static final PublishChannelCache getInstance()
public PublishChannel getPublishChannel(java.lang.String pubChannelName)
pubChannelName
- public java.util.Map<java.lang.String,PublishChannel> getPublishChannelMap()
public void unregisterAllListeners() throws MXException
MXException
public void unregisterListeners(java.lang.String pubChannelName) throws MXException
pubChannelName
- MXException
public MaximoCache getCache()
MaximoMTEnabledCache
getCache
in interface MaximoMTEnabledCache
public boolean isLoaded()
isLoaded
in interface MaximoMTEnabledCache