Available for use in annotation-based configurations, such as for the AspectJ AnnotationBeanConfigurer aspect.
org.springframework.beans.factory.annotation.Configurable , org.springframework.beans.factory.config.AutowireCapableBeanFactory
| Modifier and Type | Field and Description |
|---|---|
| public static final Autowire | BY_NAME
Constant that indicates autowiring bean properties by name. |
| public static final Autowire | BY_TYPE
Constant that indicates autowiring bean properties by type. |
| public static final Autowire | NO
Constant that indicates no autowiring at all. |
| private final int |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: whether actual autowiring was specified (either BY_NAME or BY_TYPE)Return whether this represents an actual autowiring value. |
| public int | |
| public static Autowire | |
| public static Autowire[] |
| BY_NAME | back to summary |
|---|---|
| public static final Autowire BY_NAME Constant that indicates autowiring bean properties by name. | |
| BY_TYPE | back to summary |
|---|---|
| public static final Autowire BY_TYPE Constant that indicates autowiring bean properties by type. | |
| NO | back to summary |
|---|---|
| public static final Autowire NO Constant that indicates no autowiring at all. | |
| value | back to summary |
|---|---|
| private final int value | |
| Autowire | back to summary |
|---|---|
| private Autowire(int value) | |
| isAutowire | back to summary |
|---|---|
| public boolean isAutowire() Return whether this represents an actual autowiring value.
| |
| value | back to summary |
|---|---|
| public int value() | |
| valueOf | back to summary |
|---|---|
| public static Autowire valueOf(String name) | |
| values | back to summary |
|---|---|
| public static Autowire[] values() | |