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
ConstructorsConstructorDescriptionRuntimeBindingConversionExecutor(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:ConversionExecutorReturns the source class of conversions performed by this executor.- Specified by:
getSourceClassin interfaceConversionExecutor- Returns:
- the source class
-
getTargetClass
Description copied from interface:ConversionExecutorReturns the target class of conversions performed by this executor.- Specified by:
getTargetClassin interfaceConversionExecutor- Returns:
- the target class
-
equals
-
hashCode
public int hashCode() -
execute
Description copied from interface:ConversionExecutorExecute the conversion for the provided source object.- Specified by:
executein interfaceConversionExecutor- Parameters:
source- the source object to convert- Throws:
ConversionExecutionException
-
execute
- Throws:
ConversionExecutionException
-