I’m trying to use JSR-330 annotations with Spring 3.
Is there a JSR-330 equivalent of Spring’s @Value annotation for inserting property values? e.g. can I use @Provider in a way that will instruct Spring to inject a property value?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I looked for usages of
@Valuein a project that is usingorg.springframework.beans-3.0.5.RELEASE.jar. The annotation is referenced in two places here,AutowiredAnnotationBeanPostProcessorandQualifierAnnotationAutowireCandidateResolver.In
AutowiredAnnotationBeanPostProcessor, the only JSR-330 annotation mentioned isjavax.inject.Inject.QualifierAnnotationAutowireCandidateResolvermakes no mention of JSR-330 annotations.