public enum WiringMode extends java.lang.Enum<WiringMode>
Enum Constant and Description |
---|
AUTOWIRE
Auto-wires beans.
|
DEFAULT
Default wiring mode is set by the container.
|
NONE
No wiring at all.
|
OPTIONAL
Explicit and loose wiring.
|
STRICT
Explicit and strict wiring.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString() |
int |
value() |
static WiringMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static WiringMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WiringMode DEFAULT
public static final WiringMode NONE
public static final WiringMode STRICT
public static final WiringMode OPTIONAL
public static final WiringMode AUTOWIRE
public static WiringMode[] values()
for (WiringMode c : WiringMode.values()) System.out.println(c);
public static WiringMode 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 value()
public java.lang.String toString()
toString
in class java.lang.Enum<WiringMode>
Copyright © 2003-present Jodd Team