public enum AutowireMode extends java.lang.Enum<AutowireMode>
AutowireCapableBeanFactory.| Enum Constant and Description |
|---|
AUTODETECT |
BY_NAME |
BY_TYPE |
CONSTRUCTOR |
| Modifier and Type | Method and Description |
|---|---|
int |
getSpringCode() |
static AutowireMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AutowireMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AutowireMode AUTODETECT
public static final AutowireMode BY_NAME
public static final AutowireMode BY_TYPE
public static final AutowireMode CONSTRUCTOR
public static AutowireMode[] values()
for (AutowireMode c : AutowireMode.values()) System.out.println(c);
public static AutowireMode valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic int getSpringCode()
Copyright © 2016 Oracle Corporation. All Rights Reserved.