com.ibm.tivoli.maximo.fdmbo

Class JSONResourceCache

    • Method Detail

      • getInstance

        public static final JSONResourceCache getInstance()
        Cache instance
        Returns:
        the cache instance
      • getResourceMap

        public java.util.Map getResourceMap()
        Returns map of all resources. Key resource name and value JSONResourceInfo
      • getResourceInfo

        public JSONResourceInfo getResourceInfo(java.lang.String resourceName)
        Returns JSONResourceInfo.
        Parameters:
        resourceName - Resource name as key map
      • getResourceTypeInfo

        public ResourceTypeInfo getResourceTypeInfo(java.lang.String resourceType)
        Returns JSONResourceTypeInfo.
        Parameters:
        resourceType - Resource type as key map
      • getPropToObjectMap

        public java.util.Map getPropToObjectMap(java.lang.String resourceName)
        Returns property to object map.
        Parameters:
        resourceName - Resource name as key map
      • getName

        public java.lang.String getName()
        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. JSON Cache returns "JSONOS"
        Returns:
        name of the cache