|
|
|
|
@ -30,7 +30,7 @@ import java.lang.annotation.Target;
@@ -30,7 +30,7 @@ import java.lang.annotation.Target;
|
|
|
|
|
* for dynamic resolution of handler method parameters, e.g. in Spring MVC. |
|
|
|
|
* |
|
|
|
|
* <p>A common use case is to assign default field values using |
|
|
|
|
* {@code #{systemProperties.myProp}} style expressions. |
|
|
|
|
* <code>#{systemProperties.myProp}</code> style expressions. |
|
|
|
|
* |
|
|
|
|
* <p>Note that actual processing of the {@code @Value} annotation is performed |
|
|
|
|
* by a {@link org.springframework.beans.factory.config.BeanPostProcessor |
|
|
|
|
@ -55,7 +55,7 @@ import java.lang.annotation.Target;
@@ -55,7 +55,7 @@ import java.lang.annotation.Target;
|
|
|
|
|
public @interface Value { |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* The actual value expression: for example {@code #{systemProperties.myProp}}. |
|
|
|
|
* The actual value expression — for example, <code>#{systemProperties.myProp}</code>. |
|
|
|
|
*/ |
|
|
|
|
String value(); |
|
|
|
|
|
|
|
|
|
|