public class JSONResourceCacheImpl extends java.lang.Object implements MaximoCache
| Constructor and Description |
|---|
JSONResourceCacheImpl() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName()
Returns the name of the cache object.
|
JSONResourceInfo |
getResourceInfo(java.lang.String resourceName)
Returns resource info based on resource name.
|
java.util.Map<java.lang.String,JSONResourceInfo> |
getResourceMap()
Returns map of all resource types.
|
ResourceTypeInfo |
getResourceTypeInfo(java.lang.String resourceType)
Returns resource types based on resource type name.
|
java.util.Map<java.lang.String,ResourceTypeInfo> |
getResourceTypeMap()
Returns map of all resource types.
|
void |
init()
Initialize the cache object.
|
void |
reload()
Reloads the cache object.
|
void |
reload(java.lang.String key)
Initialize a specific component of the cache identified by the key.
|
public void init()
throws MXException
init in interface MaximoCacheMXExceptionpublic void reload()
throws MXException
reload in interface MaximoCacheMXExceptionpublic void reload(java.lang.String key)
throws MXException
reload in interface MaximoCachekey - MXExceptionpublic java.util.Map<java.lang.String,ResourceTypeInfo> getResourceTypeMap()
public ResourceTypeInfo getResourceTypeInfo(java.lang.String resourceType)
public java.util.Map<java.lang.String,JSONResourceInfo> getResourceMap()
public JSONResourceInfo getResourceInfo(java.lang.String resourceName)
public java.lang.String getName()
getName in interface MaximoCache