Package io.micronaut.context.annotation
Annotation Interface ConfigurationReader
@Documented
@Retention(RUNTIME)
@Target(ANNOTATION_TYPE)
@BeanProperties(accessKind={METHOD,FIELD},
visibility=DEFAULT)
public @interface ConfigurationReader
A meta annotation for use with other annotations to indicate that the annotation reads configuration.
- Since:
- 1.0
- Author:
- Graeme Rocher
- See Also:
-
Field Details
-
PREFIX
The prefix name.- See Also:
-
BASE_PREFIX
The base prefix name.- See Also:
-
PREFIX_CALCULATED
- See Also:
-
-
Element Details
-
value
The prefix to use when resolving properties. The prefix should be defined in kebab case. Example: my-app.foo.- Returns:
- The configuration entry to read
- Default:
- ""
-
prefix
String prefix- Returns:
- The prefix to use
- Default:
- ""
-
basePrefix
String basePrefixThe base prefix to prepend to the original prefix.- Returns:
- The base prefix
- Since:
- 4.0.0
- Default:
- ""
-
includes
- Returns:
- The names of the properties to include
- Default:
- {}
-
excludes
- Returns:
- The names of the properties to exclude
- Default:
- {}
-