public class MapConfig extends ValueConfig implements Serializable
| Modifier and Type | Field and Description |
|---|---|
protected String |
keyType |
protected String |
valueType |
| Constructor and Description |
|---|
MapConfig() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addChildren(ConfigVisitor visitor,
List<ConfigVisitorNode> nodes)
Add children as needed.
|
protected Map<Object,Object> |
createInstance() |
protected Object |
getClassValue(Class<?> type)
Get value, use type to narrow down exact value.
|
protected Object |
getPtValue(ParameterizedType type)
Get value.
|
void |
put(ValueConfig key,
ValueConfig value) |
void |
setKeyType(String keyType) |
void |
setValueType(String valueType) |
void |
visit(ConfigVisitor visitor)
Visit metadata node.
|
getIndex, getType, getValue, setIndex, setTypegetChildren, getTempBeanInfo, getTempBeanInfo, getTempBeanInfo, getType, getTypepublic void visit(ConfigVisitor visitor)
ConfigVisitorNodevisit in interface ConfigVisitorNodevisit in class AbstractConfigVisitorNodevisitor - the config visitorprotected void addChildren(ConfigVisitor visitor, List<ConfigVisitorNode> nodes)
AbstractConfigVisitorNodeaddChildren in class AbstractConfigVisitorNodevisitor - the current visitornodes - the nodes list to add toprotected Object getPtValue(ParameterizedType type)
ValueConfiggetPtValue in class ValueConfigtype - the parameterized typeprotected Object getClassValue(Class<?> type)
ValueConfiggetClassValue in class ValueConfigtype - the injection point typepublic void put(ValueConfig key, ValueConfig value)
public void setKeyType(String keyType)
public void setValueType(String valueType)
Copyright © 2019 JBoss by Red Hat. All rights reserved.