public enum Autowire extends Enum<Autowire>
Available for use in annotation-based configurations, such as for the AspectJ AnnotationBeanConfigurer aspect.
Configurable, 
AutowireCapableBeanFactory| Enum Constant and Description | 
|---|
BY_NAME
Constant that indicates autowiring bean properties by name. 
 | 
BY_TYPE
Constant that indicates autowiring bean properties by type. 
 | 
NO
Constant that indicates no autowiring at all. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
isAutowire()
Return whether this represents an actual autowiring value. 
 | 
int | 
value()  | 
static Autowire | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static Autowire[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final Autowire NO
public static final Autowire BY_NAME
public static final Autowire BY_TYPE
public static Autowire[] values()
for (Autowire c : Autowire.values()) System.out.println(c);
public static Autowire valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic int value()
public boolean isAutowire()