public class FactoryConfig extends ValueConfig
Modifier and Type | Field and Description |
---|---|
protected org.jboss.msc.value.InjectedValue<BeanInfo> |
beanInfo |
protected org.jboss.msc.value.InjectedValue<Object> |
value |
Constructor and Description |
---|
FactoryConfig() |
Modifier and Type | Method and Description |
---|---|
BeanInfo |
getBeanInfo() |
protected Object |
getClassValue(Class<?> type)
Get value, use type to narrow down exact value.
|
Class<?> |
getType(ConfigVisitor visitor,
ConfigVisitorNode previous)
Try getting type off config.
|
void |
setBean(String dependency) |
void |
setState(BeanState state) |
void |
visit(ConfigVisitor visitor)
Visit metadata node.
|
getIndex, getPtValue, getType, getValue, setIndex, setType
addChildren, getChildren, getTempBeanInfo, getTempBeanInfo, getTempBeanInfo, getType
protected final transient org.jboss.msc.value.InjectedValue<BeanInfo> beanInfo
protected final transient org.jboss.msc.value.InjectedValue<Object> value
protected Object getClassValue(Class<?> type)
ValueConfig
getClassValue
in class ValueConfig
type
- the injection point typepublic void visit(ConfigVisitor visitor)
ConfigVisitorNode
visit
in interface ConfigVisitorNode
visit
in class AbstractConfigVisitorNode
visitor
- the config visitorpublic Class<?> getType(ConfigVisitor visitor, ConfigVisitorNode previous)
TypeProvider
getType
in interface TypeProvider
getType
in class AbstractConfigVisitorNode
visitor
- the current config visitorprevious
- previous config visitor nodepublic void setBean(String dependency)
public void setState(BeanState state)
public BeanInfo getBeanInfo()
Copyright © 2017 JBoss by Red Hat. All rights reserved.