类 ConfigDataComponent
java.lang.Object
com.publiccms.logic.component.config.ConfigDataComponent
ConfigDataComponent 配置数据组件
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明void
clear()
void
clear
(short siteId) static boolean
getBoolean
(String value, boolean defaultValue) getConfigData
(short siteId, String code) static Float
static Float
static Integer
static int
static long
void
initCache
(CacheEntityFactory cacheEntityFactory) void
removeCache
(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
-- 抛出:
IllegalAccessException
InstantiationException
ClassNotFoundException
SecurityException
IllegalArgumentException
-