title: how to use @value annotation inside a method to read a a property from property file?
body: <p>Can i use @value annotation inside a method to read property? </p>
  
  <pre><code>    void method1(){
  
       @Value("#{AppProperties['service.name']}") String name;
       -------
        -------
     } 
  </code></pre>