Package org.apache.camel.osgi

Examples of org.apache.camel.osgi.OsgiAnnotationTypeConverterLoader


        ctx.setFactoryFinderResolver(new OsgiFactoryFinderResolver());
        ctx.setPackageScanClassResolver(new OsgiPackageScanClassResolver(bundleContext));
        ctx.setComponentResolver(new OsgiComponentResolver());
        ctx.setLanguageResolver(new OsgiLanguageResolver());

        OsgiAnnotationTypeConverterLoader typeConverterLoader = new OsgiAnnotationTypeConverterLoader(new OsgiPackageScanClassResolver(bundleContext));
        try {
            typeConverterLoader.load(ctx.getTypeConverterRegistry());
        } catch (Exception e) {
            throw ObjectHelper.wrapRuntimeCamelException(e);
        }

        return ctx;
View Full Code Here

TOP

Related Classes of org.apache.camel.osgi.OsgiAnnotationTypeConverterLoader

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.