public class MapConf<T extends java.util.Map> extends AbstractMapHolder<java.util.Map>
keyType
missingKeys, ordered, orderList, withTag, xmlTag
classType, isInterfaceType
hasDefaultValue, nameSpace, processors, property, t
构造器和说明 |
---|
MapConf(java.util.Map map,
java.lang.Class keyType,
java.lang.Class valueType) |
MapConf(java.lang.String property,
java.util.Map map,
java.lang.Class keyType,
java.lang.Class valueType) |
限定符和类型 | 方法和说明 |
---|---|
void |
clear() |
java.lang.Object |
clone() |
boolean |
containsKey(java.lang.Object key) |
protected boolean |
doContainsKey(java.lang.Object key)
读取数据库,根据key判断记录是否存在
|
protected java.util.Map |
doGet() |
protected java.lang.Object |
doGet(java.lang.Object key)
这个抽象方法负责从数据库里查询,根据key信息构造
|
protected java.util.Map |
doGetCache() |
protected void |
doSetInternal(java.util.Map map) |
java.lang.Object |
get(java.lang.Object key) |
protected void |
putInternal(java.lang.Object key,
java.lang.Object value) |
MapConf<T> |
register(CompatibleProcessor processor) |
protected void |
removeInternal(java.lang.Object key) |
protected void |
renameInternal(java.lang.Object old,
java.lang.Object newKey) |
MapConf<T> |
setNameSpace(java.lang.String nameSpace) |
doClear, doSet, get, getKeyType, indexOf, put, remove, rename
invalidateExtraInfo, setClassInfo, setData, setProperty
equals, get, getCache, getKey, getNameSpace, getProperty, hashCode, invalidateCache, isResident, permit, set, setInitialized, setKey, setResident
getClassInfo, getData, invalidate, isLoad
public MapConf(java.lang.String property, java.util.Map map, java.lang.Class keyType, java.lang.Class valueType)
public MapConf(java.util.Map map, java.lang.Class keyType, java.lang.Class valueType)
protected void doSetInternal(java.util.Map map)
doSetInternal
在类中 AbstractMapHolder<java.util.Map>
protected void putInternal(java.lang.Object key, java.lang.Object value)
putInternal
在类中 AbstractMapHolder<java.util.Map>
public java.lang.Object get(java.lang.Object key)
get
在类中 AbstractMapHolder<java.util.Map>
protected java.util.Map doGetCache()
doGetCache
在类中 Conf<java.util.Map>
protected void removeInternal(java.lang.Object key)
removeInternal
在类中 AbstractMapHolder<java.util.Map>
protected void renameInternal(java.lang.Object old, java.lang.Object newKey)
renameInternal
在类中 AbstractMapHolder<java.util.Map>
public void clear()
clear
在类中 AbstractMultiValueHolder<java.util.Map>
public boolean containsKey(java.lang.Object key)
containsKey
在类中 AbstractMapHolder<java.util.Map>
public MapConf<T> register(CompatibleProcessor processor)
public MapConf<T> setNameSpace(java.lang.String nameSpace)
setNameSpace
在类中 Conf<java.util.Map>
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
protected java.lang.Object doGet(java.lang.Object key)
AbstractMapHolder
doGet
在类中 AbstractMapHolder<java.util.Map>
protected boolean doContainsKey(java.lang.Object key)
AbstractMapHolder
doContainsKey
在类中 AbstractMapHolder<java.util.Map>