psdi.iface.mic

Class PublishChannelCacheImpl

  • java.lang.Object
    • psdi.iface.mic.PublishChannelCacheImpl
  • All Implemented Interfaces:
    MaximoCache


    public class PublishChannelCacheImpl
    extends java.lang.Object
    implements MaximoCache
    • Constructor Detail

      • PublishChannelCacheImpl

        public PublishChannelCacheImpl()
    • Method Detail

      • init

        public void init()
                  throws MXException
        Initialize the cache object. This will be called by the app server on startup.
        Specified by:
        init in interface MaximoCache
        Throws:
        MXException
      • getPublishInfo

        public PublishInfo getPublishInfo(java.lang.String pubChannelName)
        Parameters:
        pubChannelName -
        Returns:
        the PublishInfo object for the pubChannelName
      • getChannelsForIfaceTb

        public java.util.List getChannelsForIfaceTb(java.lang.String ifacetbName)
        Parameters:
        ifacetbName - the interface table name
        Returns:
        the list of channel names
      • getPublishChannel

        public PublishChannel getPublishChannel(java.lang.String pubChannelName)
        Parameters:
        pubChannelName -
        Returns:
        the channel for the pubChannelName
      • reload

        public void reload()
                    throws MXException
        Reloads the cache object. This will be called by the app server whenever the cache needs to be refreshed.
        Specified by:
        reload in interface MaximoCache
        Throws:
        MXException
      • reload

        public void reload(java.lang.String key)
                    throws MXException
        Initialize a specific component of the cache identified by the key. E.g. In Maxvars, a specific maxvar can be reinitiliazed from the database.
        Specified by:
        reload in interface MaximoCache
        Parameters:
        key -
        Throws:
        MXException
      • getPublishChannelMap

        public java.util.Map getPublishChannelMap()
        Returns:
        the Map of channels
      • unregisterListeners

        public void unregisterListeners(java.lang.String pubChannelName)
                                 throws MXException
        Parameters:
        pubChannelName -
        Throws:
        MXException
      • getName

        public java.lang.String getName()
        Description copied from interface: MaximoCache
        Returns the name of the cache object. Should be unique within the app server. This name is used to uniquely identify the cache object among all cached object for both accessing the cache object as well as refreshing the cache object. Ex. MaximoDD returns "MAXIMODD"
        Specified by:
        getName in interface MaximoCache
        Returns: