org.springframework.osgi.blueprint.container
Class SpringBlueprintConverterService
java.lang.Object
org.springframework.osgi.blueprint.container.SpringBlueprintConverterService
- All Implemented Interfaces:
- ConversionService
public class SpringBlueprintConverterService
- extends Object
- implements ConversionService
OSGi 4.2 Blueprint converter adapter as an Spring 3.0 ConverterService.
- Author:
- Costin Leau
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SpringBlueprintConverterService
public SpringBlueprintConverterService(ConversionService delegate,
ConfigurableBeanFactory cbf)
add
public void add(Converter blueprintConverter)
add
public void add(Collection<Converter> blueprintConverters)
canConvert
public boolean canConvert(Class<?> sourceType,
Class<?> targetType)
- Specified by:
canConvert
in interface ConversionService
canConvert
public boolean canConvert(TypeDescriptor sourceType,
TypeDescriptor targetType)
- Specified by:
canConvert
in interface ConversionService
convert
public <T> T convert(Object source,
Class<T> targetType)
- Specified by:
convert
in interface ConversionService
convert
public Object convert(Object source,
TypeDescriptor sourceType,
TypeDescriptor targetType)
- Specified by:
convert
in interface ConversionService
Copyright © 2006-2009 Spring Framework. All Rights Reserved.