@Documented @InjectTag @LoadValue(value=ConfigurationValueLoader.class) @Retention(value=RUNTIME) @Target(value={FIELD,PARAMETER}) public @interface Configuration
Used to specify a field or parameter shall be load by ConfigurationValueLoader.
| Modifier and Type | Fields and Description |
|---|---|
static String |
DEFAULT_VALUE_PROP
The name of
defaultValue() property. |
| Modifier and Type | Required Element and Description |
|---|---|
String |
value
Specify the configuration key.
|
| Modifier and Type | Optional Element and Description |
|---|---|
String |
defaultValue
Specify the default value of the configuration
|
public static final String DEFAULT_VALUE_PROP
The name of defaultValue() property.
public abstract String value
Specify the configuration key.
public abstract String defaultValue
Specify the default value of the configuration
Copyright © 2016–2018 OSGL (Open Source General Library). All rights reserved.