psdi.iface.listener

Class IntListenerCache

  • java.lang.Object
    • psdi.iface.listener.IntListenerCache
  • All Implemented Interfaces:
    MaximoCache


    public class IntListenerCache
    extends java.lang.Object
    implements MaximoCache
    Loads information from MAXINTLISTENER table
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String NAME 
    • Method Detail

      • reload

        public void reload()
                    throws MXException
        Description copied from interface: MaximoCache
        Reloads the cache object. This will be called by the app server whenever the cache needs to be refreshed. Don't call this method directly. Instead call MXServer.reloadCache(String, boolean).
        Specified by:
        reload in interface MaximoCache
        Throws:
        MXException
      • reload

        public void reload(java.lang.String key)
                    throws MXException
        Description copied from interface: MaximoCache
        Initialize a specific component of the cache identified by the key. E.g. In Maxvars, a specific maxvar can be reinitiliazed from the database. Don't call this method directly. Instead call MXServer.reloadCache(String, String, boolean).
        Specified by:
        reload in interface MaximoCache
        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:
      • getInstance

        public static IntListenerCache getInstance()
        Returns the instance of LoadRouterConfig
        Returns:
        LoadRouterConfig class
      • getListenerInfo

        public IntListenerInfo getListenerInfo(java.lang.String objectName)
        Returns a HashMap contains listener info
        Returns:
        a HashMap contains listener information
      • getListenerImpl

        public ListenerHandler getListenerImpl(java.lang.String objectName,
                                               IntListenerInfo info)
                                        throws MXException
        Returns a HashMap contains handler class for maximo configuration objects
        Returns:
        a HashMap contains listener information
        Throws:
        MXException
      • unregisterAllListeners

        public void unregisterAllListeners()
                                    throws MXException
        Unregister All Listeners
        Throws:
        MXException