conversionService property

ConversionService get conversionService

Converts the result of a @Value expression to the injection point's type (the string '8080' to an int, say). Defaults to the shared DefaultConversionService; an application context uses its environment's.

Implementation

ConversionService get conversionService;
set conversionService (ConversionService value)

Replaces the conversion service used for @Value results, for example with one that knows the application's own value types.

Implementation

set conversionService(ConversionService value);