Class Overview
Enumeration determining autowiring status: that is, whether a bean should
have its dependencies automatically injected by the Spring container using
setter injection. This is a core concept in Spring DI.
Available for use in annotation-based configurations, such as for the
AspectJ AnnotationBeanConfigurer aspect.
Summary
Enum Values |
Autowire |
BY_NAME |
Constant that indicates autowiring bean properties by name. |
Autowire |
BY_TYPE |
Constant that indicates autowiring bean properties by type. |
Autowire |
NO |
Constant that indicates no autowiring at all. |
[Expand]
Inherited Methods |
From class
java.lang.Enum
final
Object
|
clone()
|
int
|
compareTo(Object arg0)
|
final
int
|
compareTo(E arg0)
|
final
boolean
|
equals(Object arg0)
|
final
void
|
finalize()
|
final
Class<E>
|
getDeclaringClass()
|
final
int
|
hashCode()
|
final
String
|
name()
|
final
int
|
ordinal()
|
String
|
toString()
|
static
<T extends Enum<T>>
T
|
valueOf(Class<T> arg0, String arg1)
|
|
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
From interface
java.lang.Comparable
abstract
int
|
compareTo(T arg0)
|
|
Enum Values
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.
Public Methods
public
boolean
isAutowire
()
Return whether this represents an actual autowiring value.
Returns
- whether actual autowiring was specified
(either BY_NAME or BY_TYPE)