public enum TypeConfiguration extends Enum<TypeConfiguration>
Configuration or the annotation SpringApplicationContext.| Enum Constant and Description |
|---|
APPLICATIONCONTEXT
You can use the annotation
SpringApplicationContext to define the beans in de applicationcontext. |
CONFIGURATION
You can use the annotation
Configuration to define the beans in the applicationcontext. |
| Modifier and Type | Method and Description |
|---|---|
static TypeConfiguration |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TypeConfiguration[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TypeConfiguration CONFIGURATION
Configuration to define the beans in the applicationcontext.
The beans are defined in a seperate class and contains the annotation Configuration
example:
public static final TypeConfiguration APPLICATIONCONTEXT
SpringApplicationContext to define the beans in de applicationcontext.
All the beans are defined in an xml file. <beans ... profile="..."> ... </beans>
public static TypeConfiguration[] values()
for (TypeConfiguration c : TypeConfiguration.values()) System.out.println(c);
public static TypeConfiguration 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 nullCopyright © 2016. All Rights Reserved.