Hi,
I'm using Spring 3.1.1.RELEASE on JBoss AS 7.1.0.Final. I have this defined in my application context file …
One of the properties looks like this:Code:<util:properties id="applicationProperties" location="classpath:application.properties" />
Is there any slick way to autowire a List or Strings from the property directly? Right now, I'm loading it like:Code:org.types.without.parents=01,02,05,16,35,51
which is fine, but then I need to apply a ".split" in the places where I reference this property. Thanks, - DaveCode:@Value("#{applicationProperties['org.types.without.parents']}") private String indOrgsList;


Reply With Quote