Package org.jboss.as.pojo.descriptor
Class ValueFactoryConfig
- java.lang.Object
-
- org.jboss.as.pojo.descriptor.AbstractConfigVisitorNode
-
- org.jboss.as.pojo.descriptor.ValueConfig
-
- org.jboss.as.pojo.descriptor.FactoryConfig
-
- org.jboss.as.pojo.descriptor.ValueFactoryConfig
-
- All Implemented Interfaces:
Serializable,ConfigVisitorNode,TypeProvider
public class ValueFactoryConfig extends FactoryConfig
Value factory value.- Author:
- Ales Justin
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.jboss.as.pojo.descriptor.FactoryConfig
beanInfo, value
-
-
Constructor Summary
Constructors Constructor Description ValueFactoryConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddChildren(ConfigVisitor visitor, List<ConfigVisitorNode> nodes)Add children as needed.protected ObjectgetClassValue(Class<?> type)Get value, use type to narrow down exact value.voidsetMethod(String method)voidsetParameters(ValueConfig[] parameters)-
Methods inherited from class org.jboss.as.pojo.descriptor.FactoryConfig
getBeanInfo, getType, setBean, setState, visit
-
Methods inherited from class org.jboss.as.pojo.descriptor.ValueConfig
getIndex, getPtValue, getType, getValue, setIndex, setType
-
Methods inherited from class org.jboss.as.pojo.descriptor.AbstractConfigVisitorNode
getChildren, getTempBeanInfo, getTempBeanInfo, getTempBeanInfo, getType
-
-
-
-
Method Detail
-
getClassValue
protected Object getClassValue(Class<?> type)
Description copied from class:ValueConfigGet value, use type to narrow down exact value.- Overrides:
getClassValuein classFactoryConfig- Parameters:
type- the injection point type- Returns:
- value
-
addChildren
protected void addChildren(ConfigVisitor visitor, List<ConfigVisitorNode> nodes)
Description copied from class:AbstractConfigVisitorNodeAdd children as needed.- Overrides:
addChildrenin classAbstractConfigVisitorNode- Parameters:
visitor- the current visitornodes- the nodes list to add to
-
setMethod
public void setMethod(String method)
-
setParameters
public void setParameters(ValueConfig[] parameters)
-
-