psdi.iface.mic

Class EnterpriseServiceCacheImpl

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


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

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      EnterpriseServiceInfo getEnterpriseServiceInfo(java.lang.String name)
      Return EnterpriseServiceInfo object for the given service name
      java.util.Map getEnterpriseServiceMap()
      Returns Map of all Enterprise services info.
      java.lang.String getName()
      Returns the name as registered in Maximo Cache
      void init()
      Initialization fo EnterpriseServiceCache
      void reload()
      Refresh EnterpriseServiceCache
      void reload(java.lang.String key)
      Reload a paricular key in memory.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • EnterpriseServiceCacheImpl

        public EnterpriseServiceCacheImpl()
    • Method Detail

      • getName

        public java.lang.String getName()
        Returns the name as registered in Maximo Cache
        Specified by:
        getName in interface MaximoCache
        Returns:
        MAXIFACE
      • reload

        public void reload(java.lang.String key)
                    throws MXException
        Reload a paricular key in memory. Not implemented (exists only for compilation sake)
        Specified by:
        reload in interface MaximoCache
        Parameters:
        key - key to reload
        Throws:
        MXException - Maximo Exception
      • getEnterpriseServiceMap

        public java.util.Map getEnterpriseServiceMap()
        Returns Map of all Enterprise services info. The returned Map contains the service name as the key, while the value is EnterpriseServiceInfo object
        Returns:
        Map of all Enterprise Services
      • getEnterpriseServiceInfo

        public EnterpriseServiceInfo getEnterpriseServiceInfo(java.lang.String name)
        Return EnterpriseServiceInfo object for the given service name
        Parameters:
        name - Enterprise Service name
        Returns:
        MaxInterfaceInfo object