Class RuntimeBindingConversionExecutor
java.lang.Object
org.springframework.binding.convert.service.RuntimeBindingConversionExecutor
- All Implemented Interfaces:
ConversionExecutor
A conversion executor that doesn't resolve its converter until its time to perform a conversion.
- Author:
- Keith Donald
-
Constructor Summary
ConstructorDescriptionRuntimeBindingConversionExecutor
(Class<?> targetClass, ConversionService conversionService) Creates a new runtime binding conversion executor. -
Method Summary
-
Constructor Details
-
RuntimeBindingConversionExecutor
Creates a new runtime binding conversion executor.- Parameters:
targetClass
- the target type to convert toconversionService
- the conversion service to get converters from
-
-
Method Details
-
getSourceClass
Description copied from interface:ConversionExecutor
Returns the source class of conversions performed by this executor.- Specified by:
getSourceClass
in interfaceConversionExecutor
- Returns:
- the source class
-
getTargetClass
Description copied from interface:ConversionExecutor
Returns the target class of conversions performed by this executor.- Specified by:
getTargetClass
in interfaceConversionExecutor
- Returns:
- the target class
-
equals
-
hashCode
public int hashCode() -
execute
Description copied from interface:ConversionExecutor
Execute the conversion for the provided source object.- Specified by:
execute
in interfaceConversionExecutor
- Parameters:
source
- the source object to convert- Throws:
ConversionExecutionException
-
execute
- Throws:
ConversionExecutionException
-