Package org.apache.felix.ipojo.manipulator.metadata.annotation.registry

Examples of org.apache.felix.ipojo.manipulator.metadata.annotation.registry.DefaultBindingRegistry


                                                     final ResourceStore store,
                                                     final ModuleProvider provider) {

        // Build the registry by aggregation of the features we want
        // TODO We can enable/disable the legacy support easily here
        BindingRegistry registry = new DefaultBindingRegistry(reporter);
        registry = new MetaAnnotationBindingRegistry(registry, reporter, store);
        registry = new LegacyGenericBindingRegistry(registry, reporter);
        registry = new IgnoreAllBindingRegistry(registry, reporter);

        // Build each Module and add its contributed Bindings in the registry
        for (Module module : provider.findModules()) {
            module.load();
            registry.addBindings(module);
        }

        return registry;
    }
View Full Code Here

TOP

Related Classes of org.apache.felix.ipojo.manipulator.metadata.annotation.registry.DefaultBindingRegistry

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.