限定符和类型 | 字段和说明 |
---|---|
private CacheEntity<java.lang.Short,java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>>> |
cache |
private SysConfigDataService |
service |
构造器和说明 |
---|
ConfigDataComponent() |
限定符和类型 | 方法和说明 |
---|---|
void |
clear() |
void |
clear(short siteId) |
static boolean |
getBoolean(java.lang.String value,
boolean defaultValue) |
java.util.Map<java.lang.String,java.lang.String> |
getConfigData(short siteId,
java.lang.String code) |
static java.lang.Integer |
getInt(java.lang.String value) |
static int |
getInt(java.lang.String value,
int defaultValue) |
static long |
getLong(java.lang.String value,
long defaultValue) |
void |
initCache(CacheEntityFactory cacheEntityFactory) |
void |
removeCache(short siteId,
java.lang.String code) |
private SysConfigDataService service
private CacheEntity<java.lang.Short,java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>>> cache
public java.util.Map<java.lang.String,java.lang.String> getConfigData(short siteId, java.lang.String code)
siteId
- code
- public static java.lang.Integer getInt(java.lang.String value)
public static int getInt(java.lang.String value, int defaultValue)
public static long getLong(java.lang.String value, long defaultValue)
public static boolean getBoolean(java.lang.String value, boolean defaultValue)
public void removeCache(short siteId, java.lang.String code)
siteId
- code
- public void initCache(CacheEntityFactory cacheEntityFactory) throws java.lang.ClassNotFoundException, java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.IllegalArgumentException, java.lang.SecurityException
cacheEntityFactory
- java.lang.IllegalAccessException
java.lang.InstantiationException
java.lang.ClassNotFoundException
java.lang.SecurityException
java.lang.IllegalArgumentException