Search in sources :

Example 1 with DefaultFactoryFinderResolver

use of org.apache.camel.impl.DefaultFactoryFinderResolver in project camel by apache.

the class JcrConverterTest method init.

@Before
public void init() throws Exception {
    converter = new DefaultTypeConverter(new DefaultPackageScanClassResolver(), new ReflectionInjector(), new DefaultFactoryFinderResolver().resolveDefaultFactoryFinder(new DefaultClassResolver()));
    ServiceHelper.startService(converter);
}
Also used : DefaultTypeConverter(org.apache.camel.impl.converter.DefaultTypeConverter) DefaultClassResolver(org.apache.camel.impl.DefaultClassResolver) ReflectionInjector(org.apache.camel.util.ReflectionInjector) DefaultPackageScanClassResolver(org.apache.camel.impl.DefaultPackageScanClassResolver) DefaultFactoryFinderResolver(org.apache.camel.impl.DefaultFactoryFinderResolver) Before(org.junit.Before)

Aggregations

DefaultClassResolver (org.apache.camel.impl.DefaultClassResolver)1 DefaultFactoryFinderResolver (org.apache.camel.impl.DefaultFactoryFinderResolver)1 DefaultPackageScanClassResolver (org.apache.camel.impl.DefaultPackageScanClassResolver)1 DefaultTypeConverter (org.apache.camel.impl.converter.DefaultTypeConverter)1 ReflectionInjector (org.apache.camel.util.ReflectionInjector)1 Before (org.junit.Before)1