Just wondering if anyone else would find a 'type' attribute on the 'value' tag useful (or even possible)...optional of course. It would be especially useful for building lists/maps when I want to take advantage of PropertyEditors to create the actual value for the entry. For example, if I wanted a List of Resources, I could do:
In my particular case, I was trying to create a MethodMapTransactionAttributeSource and set the map...I'd love to be able to use the TransactionAttributeEditor for the values in the map.Code:<list> <value type="org.springframework.core.io.Resource">/WEB-INF/blah.xml</value> <value type="org.springframework.core.io.Resource">/WEB-INF/blah2.xml</value> </list>


Reply With Quote