org.apache.camel.impl
Class ReportingTypeConverterRegistry

java.lang.Object
  extended by org.apache.camel.impl.ReportingTypeConverterRegistry
All Implemented Interfaces:
TypeConverterRegistry

public class ReportingTypeConverterRegistry
extends Object
implements TypeConverterRegistry

Registry for reporting type converters.

Used by the camel-maven-plugin.


Constructor Summary
ReportingTypeConverterRegistry()
           
 
Method Summary
 void addTypeConverter(Class toType, Class fromType, TypeConverter typeConverter)
          Allows a new type converter to be registered
 String[] getErrors()
           
 Injector getInjector()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReportingTypeConverterRegistry

public ReportingTypeConverterRegistry()
Method Detail

getErrors

public String[] getErrors()

addTypeConverter

public void addTypeConverter(Class toType,
                             Class fromType,
                             TypeConverter typeConverter)
Description copied from interface: TypeConverterRegistry
Allows a new type converter to be registered

Specified by:
addTypeConverter in interface TypeConverterRegistry
Parameters:
toType - the type to convert to
fromType - the type to convert from
typeConverter - the type converter to use

getInjector

public Injector getInjector()
Specified by:
getInjector in interface TypeConverterRegistry


Copyright © 2010 IONA Open Source Community. All Rights Reserved.