Package org.jboss.as.pojo.descriptor
Class MapConfig
java.lang.Object
org.jboss.as.pojo.descriptor.AbstractConfigVisitorNode
org.jboss.as.pojo.descriptor.ValueConfig
org.jboss.as.pojo.descriptor.MapConfig
- All Implemented Interfaces:
Serializable,ConfigVisitorNode,TypeProvider
Map meta data.
- Author:
- Ales Justin
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddChildren(ConfigVisitor visitor, List<ConfigVisitorNode> nodes) Add children as needed.protected ObjectgetClassValue(Class<?> type) Get value, use type to narrow down exact value.protected ObjectgetPtValue(ParameterizedType type) Get value.voidput(ValueConfig key, ValueConfig value) voidsetKeyType(String keyType) voidsetValueType(String valueType) voidvisit(ConfigVisitor visitor) Visit metadata node.Methods inherited from class org.jboss.as.pojo.descriptor.ValueConfig
getIndex, getType, getValue, setIndex, setTypeMethods inherited from class org.jboss.as.pojo.descriptor.AbstractConfigVisitorNode
getChildren, getTempBeanInfo, getTempBeanInfo, getTempBeanInfo, getType, getType
-
Field Details
-
keyType
-
valueType
-
-
Constructor Details
-
MapConfig
public MapConfig()
-
-
Method Details
-
createInstance
-
visit
Description copied from interface:ConfigVisitorNodeVisit metadata node. e.g. add dependencies to service builder.- Specified by:
visitin interfaceConfigVisitorNode- Overrides:
visitin classAbstractConfigVisitorNode- Parameters:
visitor- the config visitor
-
addChildren
Description copied from class:AbstractConfigVisitorNodeAdd children as needed.- Overrides:
addChildrenin classAbstractConfigVisitorNode- Parameters:
visitor- the current visitornodes- the nodes list to add to
-
getPtValue
Description copied from class:ValueConfigGet value.- Overrides:
getPtValuein classValueConfig- Parameters:
type- the parameterized type- Returns:
- value
-
getClassValue
Description copied from class:ValueConfigGet value, use type to narrow down exact value.- Specified by:
getClassValuein classValueConfig- Parameters:
type- the injection point type- Returns:
- value
-
put
-
setKeyType
-
setValueType
-