public class JSONResourceCache extends AbstractMaximoMTEnabledCache
APPLOGGER, CRONTASKLOGGER, CRONTASKMGRLOGGER, CRONTASKMGRSQLLOGGER, DBCONNECTIONLOGGER, DDLOGGER, DMLOGGER, EVENTLOGGER, EXCEPTIONLOGGER, MAILLOGGER, MAXIMOLOGGER, MTLOGGER, NULLMBOPOINTER, SECURITY, SENDFAILEDLOGGER, SERVICELOGGER, SQLLOGGER
appenderPrefix, LOGGERNAME_APP, LOGGERNAME_CRONTASK, LOGGERNAME_CRONTASKMGR, LOGGERNAME_DBCONNECTION, LOGGERNAME_DD, LOGGERNAME_DM, LOGGERNAME_DMPREVIEW, LOGGERNAME_EVENT, LOGGERNAME_EXCEPTION, LOGGERNAME_MAIL, LOGGERNAME_MAXIMO, LOGGERNAME_MT, LOGGERNAME_NULLMBOPOINTER, LOGGERNAME_SECURITY, LOGGERNAME_SENDFAILED, LOGGERNAME_SERVICE, LOGGERNAME_SQL, LOGGERNAME_SQL_CRONTASKMGR, LOGGERNAME_TXN, loggerPrefix
Modifier and Type | Method and Description |
---|---|
static JSONResourceCache |
getInstance()
Cache instance
|
java.lang.String |
getName()
Returns the name of the cache object.
|
java.util.Map<java.lang.String,JSONObjectInfo> |
getPropToObjectMap(java.lang.String resourceName)
Returns property to object map.
|
JSONResourceInfo |
getResourceInfo(java.lang.String resourceName)
Returns JSONResourceInfo.
|
java.util.Map<java.lang.String,JSONResourceInfo> |
getResourceMap()
Returns map of all resources.
|
ResourceTypeInfo |
getResourceTypeInfo(java.lang.String resourceType)
Returns JSONResourceTypeInfo.
|
getCache, getLoadedTenants, init, isLoaded, reload, reload, unloadInactiveCaches, unloadTenant
public static final JSONResourceCache getInstance()
public java.util.Map<java.lang.String,JSONResourceInfo> getResourceMap()
public JSONResourceInfo getResourceInfo(java.lang.String resourceName)
resourceName
- Resource name as key mappublic ResourceTypeInfo getResourceTypeInfo(java.lang.String resourceType)
resourceType
- Resource type as key mappublic java.util.Map<java.lang.String,JSONObjectInfo> getPropToObjectMap(java.lang.String resourceName)
resourceName
- Resource name as key mappublic java.lang.String getName()