com.ibm.tivoli.maximo.interaction.policy

Class InteractionPolicyCacheImpl

  • java.lang.Object
    • com.ibm.tivoli.maximo.interaction.policy.InteractionPolicyCacheImpl
  • All Implemented Interfaces:
    MaximoCache


    public class InteractionPolicyCacheImpl
    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 getAllPolices()
      Get all the defined endpoints.
      java.lang.String getName()
      Returns the name as registered in Maximo Cache
      PolicyInfo getPolicyInfo(java.lang.String id)
      Get the EndPointInfo object
      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

      • InteractionPolicyCacheImpl

        public InteractionPolicyCacheImpl()
    • 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) param key to reload
        Specified by:
        reload in interface MaximoCache
        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:
        MAXINTPOLICY
      • getAllPolices

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

        public PolicyInfo getPolicyInfo(java.lang.String id)
        Get the EndPointInfo object
        Parameters:
        id - policy id
        Returns:
        EndPointInfo object