Package org.apache.camel.impl.converter
Class InstanceMethodTypeConverter
- java.lang.Object
-
- org.apache.camel.support.TypeConverterSupport
-
- org.apache.camel.impl.converter.InstanceMethodTypeConverter
-
- All Implemented Interfaces:
org.apache.camel.TypeConverter
public class InstanceMethodTypeConverter extends org.apache.camel.support.TypeConverterSupport
ATypeConverter
implementation which instantiates an object so that an instance method can be used as a type converter
-
-
Constructor Summary
Constructors Constructor Description InstanceMethodTypeConverter(org.apache.camel.impl.converter.CachingInjector<?> injector, Method method, org.apache.camel.spi.TypeConverterRegistry registry, boolean allowNull)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
allowNull()
<T> T
convertTo(Class<T> type, org.apache.camel.Exchange exchange, Object value)
String
toString()
-
-
-
Constructor Detail
-
InstanceMethodTypeConverter
public InstanceMethodTypeConverter(org.apache.camel.impl.converter.CachingInjector<?> injector, Method method, org.apache.camel.spi.TypeConverterRegistry registry, boolean allowNull)
-
-