|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.util.JBossObject
org.jboss.beans.metadata.plugins.AbstractValueMetaData
org.jboss.beans.metadata.plugins.AbstractDependencyValueMetaData
org.jboss.beans.metadata.plugins.AbstractInjectionValueMetaData
public class AbstractInjectionValueMetaData
Injection value.
| Field Summary | |
|---|---|
protected FromContext |
fromContext
|
protected InjectionOption |
injectionOption
|
protected AutowireType |
injectionType
|
protected AbstractPropertyMetaData |
propertyMetaData
Simplyifies things with AutowireType.BY_NAME |
| Fields inherited from class org.jboss.beans.metadata.plugins.AbstractDependencyValueMetaData |
|---|
context, dependentState, property, whenRequiredState |
| Fields inherited from class org.jboss.util.JBossObject |
|---|
hashCode, log, toString |
| Fields inherited from interface org.jboss.beans.metadata.plugins.TypeProvider |
|---|
ERROR_MSG |
| Constructor Summary | |
|---|---|
AbstractInjectionValueMetaData()
Create a new injection value |
|
AbstractInjectionValueMetaData(Object value)
Create a new injection value |
|
AbstractInjectionValueMetaData(Object value,
String property)
Create a new injection value |
|
| Method Summary | |
|---|---|
protected boolean |
addDependencyItem()
|
protected void |
addInstallItem(Object name)
|
void |
describeVisit(MetaDataVisitor visitor)
Revisit the node |
FromContext |
getFromContext()
|
InjectionOption |
getInjectionOption()
|
AutowireType |
getInjectionType()
|
AbstractPropertyMetaData |
getPropertyMetaData()
|
Object |
getUnderlyingValue()
Get the underlying value |
Object |
getValue(org.jboss.reflect.spi.TypeInfo info,
ClassLoader cl)
Get the value. |
void |
initialVisit(MetaDataVisitor visitor)
Visit the node |
protected boolean |
isLookupValid(org.jboss.dependency.spi.ControllerContext lookup)
|
void |
setFromContext(FromContext fromContext)
|
void |
setInjectionOption(InjectionOption injectionOption)
|
void |
setInjectionType(AutowireType injectionType)
|
void |
setPropertyMetaData(AbstractPropertyMetaData propertyMetaData)
|
void |
toString(org.jboss.util.JBossStringBuilder buffer)
|
| Methods inherited from class org.jboss.beans.metadata.plugins.AbstractDependencyValueMetaData |
|---|
getDependentState, getProperty, getWhenRequiredState, setDependentState, setProperty, setWhenRequiredState |
| Methods inherited from class org.jboss.beans.metadata.plugins.AbstractValueMetaData |
|---|
getChildren, getType, getValue, setValue, toShortString |
| Methods inherited from class org.jboss.util.JBossObject |
|---|
cacheGetHashCode, cacheToString, clone, equals, flushJBossObjectCache, getClassShortName, getHashCode, hashCode, list, notEqual, toShortString, toString, toStringImplementation |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.jboss.util.JBossInterface |
|---|
clone, toShortString |
| Field Detail |
|---|
protected AutowireType injectionType
protected InjectionOption injectionOption
protected FromContext fromContext
protected AbstractPropertyMetaData propertyMetaData
| Constructor Detail |
|---|
public AbstractInjectionValueMetaData()
public AbstractInjectionValueMetaData(Object value)
value - the value
public AbstractInjectionValueMetaData(Object value,
String property)
value - the valueproperty - the property| Method Detail |
|---|
public AutowireType getInjectionType()
public void setInjectionType(AutowireType injectionType)
public InjectionOption getInjectionOption()
public void setInjectionOption(InjectionOption injectionOption)
public FromContext getFromContext()
public void setFromContext(FromContext fromContext)
public AbstractPropertyMetaData getPropertyMetaData()
public void setPropertyMetaData(AbstractPropertyMetaData propertyMetaData)
protected void addInstallItem(Object name)
protected boolean isLookupValid(org.jboss.dependency.spi.ControllerContext lookup)
isLookupValid in class AbstractDependencyValueMetaData
public Object getValue(org.jboss.reflect.spi.TypeInfo info,
ClassLoader cl)
throws Throwable
ValueMetaData
getValue in interface ValueMetaDatagetValue in class AbstractDependencyValueMetaDatainfo - the type infocl - the classloader
Throwable - for any errorprotected boolean addDependencyItem()
addDependencyItem in class AbstractDependencyValueMetaDatapublic Object getUnderlyingValue()
ValueMetaData
getUnderlyingValue in interface ValueMetaDatagetUnderlyingValue in class AbstractValueMetaDatapublic void initialVisit(MetaDataVisitor visitor)
MetaDataVisitorNode
initialVisit in interface MetaDataVisitorNodeinitialVisit in class AbstractDependencyValueMetaDatavisitor - the visitorpublic void describeVisit(MetaDataVisitor visitor)
MetaDataVisitorNode
describeVisit in interface MetaDataVisitorNodedescribeVisit in class AbstractValueMetaDatavisitor - the visitorpublic void toString(org.jboss.util.JBossStringBuilder buffer)
toString in class AbstractDependencyValueMetaData
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||