Package com.aspectran.core.context.rule
Class AutowireRule
- java.lang.Object
-
- com.aspectran.core.context.rule.AutowireRule
-
- All Implemented Interfaces:
BeanReferenceable
public class AutowireRule extends java.lang.Object implements BeanReferenceable
The Class AutowireRule.Created: 2016. 2. 24.
- Since:
- 2.0.0
-
-
Constructor Summary
Constructors Constructor Description AutowireRule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BeanRefererType
getBeanRefererType()
Returns the Bean Referrer Type.java.lang.String[]
getFormats()
java.lang.String[]
getQualifiers()
<T> T
getTarget()
AutowireTargetType
getTargetType()
Token
getToken()
java.lang.Class<?>[]
getTypes()
boolean
isRequired()
void
setFormats(java.lang.String[] formats)
void
setQualifiers(java.lang.String... qualifiers)
void
setRequired(boolean required)
void
setTarget(java.lang.reflect.Constructor<?> constructor)
void
setTarget(java.lang.reflect.Field field)
void
setTarget(java.lang.reflect.Method method)
void
setTargetType(AutowireTargetType targetType)
void
setToken(Token token)
void
setTypes(java.lang.Class<?>... types)
java.lang.String
toString()
-
-
-
Method Detail
-
getTargetType
public AutowireTargetType getTargetType()
-
setTargetType
public void setTargetType(AutowireTargetType targetType)
-
getTarget
public <T> T getTarget()
-
setTarget
public void setTarget(java.lang.reflect.Constructor<?> constructor)
-
setTarget
public void setTarget(java.lang.reflect.Field field)
-
setTarget
public void setTarget(java.lang.reflect.Method method)
-
getTypes
public java.lang.Class<?>[] getTypes()
-
setTypes
public void setTypes(java.lang.Class<?>... types)
-
getQualifiers
public java.lang.String[] getQualifiers()
-
setQualifiers
public void setQualifiers(java.lang.String... qualifiers)
-
getFormats
public java.lang.String[] getFormats()
-
setFormats
public void setFormats(java.lang.String[] formats)
-
getToken
public Token getToken()
-
setToken
public void setToken(Token token)
-
isRequired
public boolean isRequired()
-
setRequired
public void setRequired(boolean required)
-
getBeanRefererType
public BeanRefererType getBeanRefererType()
Description copied from interface:BeanReferenceable
Returns the Bean Referrer Type.- Specified by:
getBeanRefererType
in interfaceBeanReferenceable
- Returns:
- the Bean Referrer Type
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-