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 MaximoCacheMXExceptionpublic void reload()
throws MXException
reload in interface MaximoCacheMXExceptionpublic void reload(java.lang.String key)
throws MXException
reload in interface MaximoCachekey - MXExceptionpublic java.lang.String getName()
getName in interface MaximoCachepublic 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
MXExceptionpublic void unregisterListeners(java.lang.String pubChannelName)
throws MXException
pubChannelName - MXExceptionpublic MaximoCache getCache()
MaximoMTEnabledCachegetCache in interface MaximoMTEnabledCachepublic boolean isLoaded()
isLoaded in interface MaximoMTEnabledCache