public enum LoadPolicy extends Enum<LoadPolicy>
DynamicValue.
The policy also affects the cases were any configured listeners/listener methods are called for
propagation current configuration changes.| Enum Constant and Description |
|---|
ALWAYS
The configuration value is evaluated evertime it is accessed.
|
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 access/use lazily, but never updated later.
|
| 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 ALWAYS
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–2016 Apache Software Foundation. All rights reserved.