Inject run-time properties value to bean using annotation
Posted: Fri Jul 17, 2015 2:54 am
Hi all,
Say I have a bean likes below
public class A{
public fieldA;
}
How can I inject value of a property stored in properties file such as developement.properties using Spring annotation injection?
Thanks,
Tony
Say I have a bean likes below
public class A{
public fieldA;
}
How can I inject value of a property stored in properties file such as developement.properties using Spring annotation injection?
Thanks,
Tony