Skip to content

Commit

Permalink
Improved description of how a default config key is generated.
Browse files Browse the repository at this point in the history
Signed-off-by: Ondrej Mihalyi <[email protected]>
  • Loading branch information
ondrejm authored and OndroMih committed Feb 25, 2017
1 parent 35c796e commit 9b091d0
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,10 @@
public @interface ConfigProperty {
/**
* The kay of the config property used to look up the configuration value.
* If it is not specified, it will be derived automatically as{@code <class_name>.<injetion_point_name>},
* where {@code injection_point_name} is either a field name or a property name in case of field/property injection. Otherwise the value has to be provided.
* If it is not specified, it will be derived automatically as {@code <class_name>.<injetion_point_name>},
* where {@code injection_point_name} is either a field name or a property name in case of field/property injection,
* {@code class_name} is the simple name of the class being injected to.
* If one of the {@code class_name} or {@code injection_point_name} cannot be determined, the value has to be provided.
*
* @return Name (key) of the config property to inject
*/
Expand Down

0 comments on commit 9b091d0

Please sign in to comment.