How @Value annotation works internally. #2799
Unanswered
arvindersinghchhabra
asked this question in
Q&A
Replies: 1 comment
-
@arvindersinghchhabra This sounds like a Spring, not a JUnit question to me. I think you'll have better luck to get an answer by asking on StackOverflow. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How @value annotation works internally in spring.
Actually I want to implement the same using custom annotation by providing logic and assign back value to variable field again.
In spring we do
@value(${key})
private String name;
But I want
@CustomAnnotation
private String name;
Here @CustomAnnotation will read value of name variable and perform some logic on name variable value and assign back to name variable.
Appreciate your help !!!!
Beta Was this translation helpful? Give feedback.
All reactions