public class ModelManagerImp extends Object implements ModelManager
| 构造器和说明 |
|---|
ModelManagerImp(ModelCacheManager modelCacheManager,
ModelProxyInjection modelProxyInjection,
ModelAdvisor modelAdvisor) |
| 限定符和类型 | 方法和说明 |
|---|---|
Object |
addCache(ModelKey modelKey,
Object model)
add the model to the cache
|
void |
addCache(Object key,
String className,
Object model)
add the model to the cache
|
void |
clearCache()
clear all models in the cache.
|
boolean |
containInCache(ModelKey modelKey) |
Object |
getCache(ModelKey modelKey)
get the model instance from the cache
|
Object |
getCache(Object key,
String className)
get the model instance from the cache
|
boolean |
isNull(String s) |
void |
removeCache(Object dataKey)
remove the model instance from the cache
|
public static final String module
public ModelManagerImp(ModelCacheManager modelCacheManager, ModelProxyInjection modelProxyInjection, ModelAdvisor modelAdvisor)
public Object addCache(ModelKey modelKey, Object model)
addCache 在接口中 ModelManagermodelKey - model - public void addCache(Object key, String className, Object model)
addCache 在接口中 ModelManagerpublic Object getCache(ModelKey modelKey)
getCache 在接口中 ModelManagerpublic Object getCache(Object key, String className)
getCache 在接口中 ModelManagerpublic void removeCache(Object dataKey) throws Exception
removeCache 在接口中 ModelManagerExceptionpublic void clearCache()
clearCache 在接口中 ModelManagerpublic boolean isNull(String s)
public boolean containInCache(ModelKey modelKey)
containInCache 在接口中 ModelManagerCopyright © 2018. All rights reserved.