public enum PrimaryMode extends Enum<PrimaryMode>
primary modes to be used in automatic beans registration classes.| Enum Constant and Description |
|---|
AUTO
Automatic primary setting based on current context and logical bean references.
|
FALSE
Do not register the bean as primary.
|
TRUE
Always register the bean as primary.
|
| Modifier and Type | Method and Description |
|---|---|
static PrimaryMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PrimaryMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PrimaryMode AUTO
public static final PrimaryMode TRUE
public static final PrimaryMode FALSE
public static PrimaryMode[] values()
for (PrimaryMode c : PrimaryMode.values()) System.out.println(c);
public static PrimaryMode 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 © 2019 The Holon Platform. All rights reserved.