|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.camel.impl.ReportingTypeConverterRegistry
public class ReportingTypeConverterRegistry
Registry for reporting type converters.
Used by the camel-maven-plugin.
Constructor Summary | |
---|---|
ReportingTypeConverterRegistry()
|
Method Summary | |
---|---|
void |
addFallbackTypeConverter(TypeConverter typeConverter)
Registers a new fallback type converter |
void |
addTypeConverter(Class toType,
Class fromType,
TypeConverter typeConverter)
Registers a new type converter |
String[] |
getErrors()
|
Injector |
getInjector()
Gets the injector |
TypeConverter |
lookup(Class toType,
Class fromType)
Performs a lookup for a given type converter. |
void |
setInjector(Injector injector)
Sets the injector to be used for creating new instances during type convertions. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ReportingTypeConverterRegistry()
Method Detail |
---|
public String[] getErrors()
public void addTypeConverter(Class toType, Class fromType, TypeConverter typeConverter)
TypeConverterRegistry
addTypeConverter
in interface TypeConverterRegistry
toType
- the type to convert tofromType
- the type to convert fromtypeConverter
- the type converter to usepublic void addFallbackTypeConverter(TypeConverter typeConverter)
TypeConverterRegistry
addFallbackTypeConverter
in interface TypeConverterRegistry
typeConverter
- the type converter to usepublic TypeConverter lookup(Class toType, Class fromType)
TypeConverterRegistry
lookup
in interface TypeConverterRegistry
toType
- the type to convert tofromType
- the type to convert from
public void setInjector(Injector injector)
TypeConverterRegistry
setInjector
in interface TypeConverterRegistry
public Injector getInjector()
TypeConverterRegistry
getInjector
in interface TypeConverterRegistry
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |