…perty method when resolving properties

See https://github.com/spring-projects/spring-framework/issues/13568.

The idea here is to provide a new convertProperty method for people to implement as a replacement for the ones in PropertyResourceConfigurer. The methods in that class are a poor fit for PropertySourcesPlaceholderConfigurer, as they only support String-type values.

This PR implements and deprecates the methods that should not be used, and provides a new convertProperty that the configurer will actually call.

I think a cleaner way to do this would be to make PropertySourcesPlaceholderConfigurer not subclass PropertyResourceConfigurer, but I did it this way to avoid breaking the API.

Comment From: srdo

Is there anything I should do to get this reviewed? It would be nice to get this fixed, as it's blocking Apache Camel from upgrading their placeholder resolution code to the PropertySourcesPlaceholderConfigurer.

Comment From: srdo

Closing, out of date