Is it possible to do something like this :
<property name="template" value="file:/some/resource/path/myTemplate.txt" />
via annotations without creating custom annotation and populate the field via reflection ? It cannot be done with @Value, cause it works only with Strings...
If not, what is the best way to process Spring bean custom annotations and init the bean accordingly ?