public class RuntimeBindingConversionExecutor extends java.lang.Object implements ConversionExecutor
| Constructor and Description |
|---|
RuntimeBindingConversionExecutor(java.lang.Class targetClass,
ConversionService conversionService)
Creates a new runtime binding conversion executor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Object |
execute(java.lang.Object source)
Execute the conversion for the provided source object.
|
java.lang.Object |
execute(java.lang.Object source,
java.lang.Object context) |
java.lang.Class |
getSourceClass()
Returns the source class of conversions performed by this executor.
|
java.lang.Class |
getTargetClass()
Returns the target class of conversions performed by this executor.
|
int |
hashCode() |
public RuntimeBindingConversionExecutor(java.lang.Class targetClass,
ConversionService conversionService)
targetClass - the target type to convert toconversionService - the conversion service to get converters frompublic java.lang.Class getSourceClass()
ConversionExecutorgetSourceClass in interface ConversionExecutorpublic java.lang.Class getTargetClass()
ConversionExecutorgetTargetClass in interface ConversionExecutorpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.Object execute(java.lang.Object source)
throws ConversionExecutionException
ConversionExecutorexecute in interface ConversionExecutorsource - the source object to convertConversionExecutionExceptionpublic java.lang.Object execute(java.lang.Object source,
java.lang.Object context)
throws ConversionExecutionException
ConversionExecutionException