public class ConfigCacheImpl extends Object implements ConfigCache, ApplicationLifeCycleEventListener
| Modifier and Type | Field and Description |
|---|---|
protected static Logger |
logger
The logger.
|
| Constructor and Description |
|---|
ConfigCacheImpl() |
| Modifier and Type | Method and Description |
|---|---|
Class |
getClassByOidClass(Class oidType)
Gets the Class instance corresponding to given oidType.
|
PersistenceConfig |
getPersistenceConfig(Class pcClass)
Get the PersistenceConfig for given pcClass.
|
void |
notifyApplicationUnloaded(ClassLoader classLoader)
This method is called when an application is unloaded.
|
void |
setVersionConsistencyCache(VersionConsistencyCache vcCache)
Sets VersionConsistencyCache field.
|
protected static final Logger logger
public PersistenceConfig getPersistenceConfig(Class pcClass)
getPersistenceConfig in interface ConfigCachepcClass - The input pcClass.public Class getClassByOidClass(Class oidType)
getClassByOidClass in interface ConfigCacheoidType - The input oidType.public void notifyApplicationUnloaded(ClassLoader classLoader)
ApplicationLifeCycleEventListenernotifyApplicationUnloaded in interface ApplicationLifeCycleEventListenerclassLoader - classLoader used to load the applicationpublic void setVersionConsistencyCache(VersionConsistencyCache vcCache)
setVersionConsistencyCache in interface ConfigCachevcCache - the VersionConsistencyCache instance.Copyright © 2019. All rights reserved.