@Retention(value=RUNTIME) @Target(value=FIELD) public @interface Properties
Properties
in which all properties from a given properties file should be injected.| Modifier and Type | Required Element and Description |
|---|---|
String |
value
The properties file name.
|
| Modifier and Type | Optional Element and Description |
|---|---|
String |
defaultValue
The default properties file to load in case the specified properties file does not exist or cannot be loaded.
|
boolean |
failFast
Flag to fail the configuration process if the properties file is absent or cannot be loaded.
|
int |
order
Injection order regarding other annotations.
|
public abstract String value
public abstract String defaultValue
Copyright © 2020. All rights reserved.