public enum LoadPolicy extends Enum<LoadPolicy>
Enum Constant and Description |
---|
INITIAL
The configuration keys is evaluated once, when the owning component is loaded/configured, but never updated later.
|
LAZY
The configuration keys is evaluated exactly once on its first use lazily, but never updated later.
|
MANAGED
The configuration keys is evaluated once, when the owning component is loaded/configured.
|
SILENT
The configuration keys is evaluated once, when the owning component is loaded/configured.
|
Modifier and Type | Method and Description |
---|---|
static LoadPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LoadPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LoadPolicy INITIAL
public static final LoadPolicy LAZY
public static final LoadPolicy MANAGED
PropertyChangeEvent
.public static final LoadPolicy SILENT
PropertyChangeEvent
will be triggered.public static LoadPolicy[] values()
for (LoadPolicy c : LoadPolicy.values()) System.out.println(c);
public static LoadPolicy 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 © 2014–2015 Apache Software Foundation. All rights reserved.