@Singleton
 @Named(value="conversionService")
public class MicronautConversionService
extends java.lang.Object
implements org.springframework.core.convert.ConversionService
| Constructor and Description | 
|---|
| MicronautConversionService(io.micronaut.core.convert.ConversionService<?> conversionService)Default constructor. | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | canConvert(java.lang.Class<?> sourceType,
          java.lang.Class<?> targetType) | 
| boolean | canConvert(org.springframework.core.convert.TypeDescriptor sourceType,
          org.springframework.core.convert.TypeDescriptor targetType) | 
| <T> T | convert(java.lang.Object source,
       java.lang.Class<T> targetType) | 
| java.lang.Object | convert(java.lang.Object source,
       org.springframework.core.convert.TypeDescriptor sourceType,
       org.springframework.core.convert.TypeDescriptor targetType) | 
public MicronautConversionService(io.micronaut.core.convert.ConversionService<?> conversionService)
conversionService - The target servicepublic boolean canConvert(java.lang.Class<?> sourceType,
                          java.lang.Class<?> targetType)
canConvert in interface org.springframework.core.convert.ConversionServicepublic boolean canConvert(org.springframework.core.convert.TypeDescriptor sourceType,
                          org.springframework.core.convert.TypeDescriptor targetType)
canConvert in interface org.springframework.core.convert.ConversionServicepublic <T> T convert(java.lang.Object source,
                     java.lang.Class<T> targetType)
convert in interface org.springframework.core.convert.ConversionServicepublic java.lang.Object convert(java.lang.Object source,
                                org.springframework.core.convert.TypeDescriptor sourceType,
                                org.springframework.core.convert.TypeDescriptor targetType)
convert in interface org.springframework.core.convert.ConversionService