类 ConfigDataComponent
java.lang.Object
com.publiccms.logic.component.config.ConfigDataComponent
ConfigDataComponent 配置数据组件
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明voidclear()voidclear(short siteId) static booleangetBoolean(String value, boolean defaultValue) getConfigData(short siteId, String code) static Floatstatic Floatstatic Integerstatic intstatic longvoidinitCache(CacheEntityFactory cacheEntityFactory) voidremoveCache(short siteId, String code)
-
字段详细资料
-
service
-
cache
-
-
构造器详细资料
-
ConfigDataComponent
public ConfigDataComponent()
-
-
方法详细资料
-
getConfigData
- 参数:
siteId-code-- 返回:
- config data
-
getInt
-
getFloat
-
getFloat
-
getInt
-
getLong
-
getBoolean
-
removeCache
- 参数:
siteId-code-
-
clear
public void clear(short siteId) -
clear
public void clear() -
initCache
public void initCache(CacheEntityFactory cacheEntityFactory) throws ClassNotFoundException, InstantiationException, IllegalAccessException, IllegalArgumentException, SecurityException - 参数:
cacheEntityFactory-- 抛出:
IllegalAccessExceptionInstantiationExceptionClassNotFoundExceptionSecurityExceptionIllegalArgumentException
-