Cute : Spring expressions and custom parsers

Rod Widdowson rdw at steadingsoftware.com
Wed Feb 8 11:03:38 EST 2017


I suppose that it's no surprise given what we know about property replacement but...

As discussed on Friday I just tried passing a Spring list into a list via a custom parser and it works.

Put another way:

<InputDataConnector  ref="DC1"     attributes="#{ {'1', '2', '3'} }" />

Pushes a List<String> of size three into the associated bean.

Good to know, especially given the work I have just started on Deprecating Dependencies.

/Rod



More information about the dev mailing list