psdi.iface.mic

Class EndPointCacheImpl

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


    public class EndPointCacheImpl
    extends java.lang.Object
    implements MaximoCache
    Loads information from MAXENDPOINT, MAXENDPOINTDTL tables
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.util.Map getAllEndpoints()
      Get all the defined endpoints.
      MaxEndPointInfo getEndPointInfo(java.lang.String endPointName)
      Get the EndPointInfo object
      java.util.Map getEndPointProperties(java.lang.String endPointName)
      Returns a map of property values for the given endpoint name.
      java.lang.String getName()
      Returns the name as registered in Maximo Cache
      void init()
      Initialize the EndPointCache
      void reload()
      Refresh the EndPointCache
      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

      • EndPointCacheImpl

        public EndPointCacheImpl()
    • Method Detail

      • 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 - to reload
        Throws:
        MXException - Maximo Exception
      • getName

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

        public java.util.Map getAllEndpoints()
        Get all the defined endpoints. key is endpointname, value is MaxEndPointInfo object
        Returns:
        map of all the defined endpoints
      • getEndPointInfo

        public MaxEndPointInfo getEndPointInfo(java.lang.String endPointName)
        Get the EndPointInfo object
        Parameters:
        endPointName - endpoint name
        Returns:
        EndPointInfo object
      • getEndPointProperties

        public java.util.Map getEndPointProperties(java.lang.String endPointName)
                                            throws MXException
        Returns a map of property values for the given endpoint name. key is property name, value is property value.
        Parameters:
        endPointName - endpoint name
        Returns:
        map of Endpoint property/values
        Throws:
        MXException - if no such endpoint exists in the DD