Search in sources :

Example 1 with TargetValueConverter

use of io.atlasmap.java.core.TargetValueConverter in project atlasmap by atlasmap.

the class JavaModule method init.

@Override
public void init() {
    // TODO support non-flat class loader
    this.classLoader = Thread.currentThread().getContextClassLoader();
    javaInspectionService = new ClassInspectionService();
    javaInspectionService.setConversionService(getConversionService());
    setJavaInspectionService(javaInspectionService);
    javaConstructService = new JavaConstructService();
    javaConstructService.setConversionService(getConversionService());
    setJavaConstructService(javaConstructService);
    targetValueConverter = new TargetValueConverter(classLoader, getConversionService());
}
Also used : TargetValueConverter(io.atlasmap.java.core.TargetValueConverter) ClassInspectionService(io.atlasmap.java.inspect.ClassInspectionService) JavaConstructService(io.atlasmap.java.inspect.JavaConstructService)

Aggregations

TargetValueConverter (io.atlasmap.java.core.TargetValueConverter)1 ClassInspectionService (io.atlasmap.java.inspect.ClassInspectionService)1 JavaConstructService (io.atlasmap.java.inspect.JavaConstructService)1