Package com.cognifide.slice.core.internal.module

Examples of com.cognifide.slice.core.internal.module.SlingModule


      final String bundleNameFilter, final String basePackage) {
    final ContextScope contextScope = new SliceContextScope();
    List<Module> modules = new ArrayList<Module>();
    modules.add(Peaberry.osgiModule(bundleContext));
    modules.add(new SliceModule(injectorName, contextScope));
    modules.add(new SlingModule(contextScope));
    modules.add(new JcrModule());
    modules.add(new LinkModule());
    modules.add(new ContextModule());
    modules.add(new SliceResourceModule(bundleContext, bundleNameFilter, basePackage));
    return modules;
View Full Code Here


  public static List<Module> createCoreModules(final BundleContext bundleContext) {
    final ContextScope contextScope = new SliceContextScope();
    List<Module> modules = new ArrayList<Module>();
    modules.add(Peaberry.osgiModule(bundleContext));
    modules.add(new SliceModule(contextScope, bundleContext.getBundle()));
    modules.add(new SlingModule(contextScope));
    modules.add(new JcrModule());
    modules.add(new LinkModule());
    modules.add(new ContextModule());
    return modules;
  }
View Full Code Here

  public static List<Module> createModules(final BundleContext bundleContext) {
    final ContextScope contextScope = new SliceContextScope();
    List<Module> modules = new ArrayList<Module>();
    modules.add(Peaberry.osgiModule(bundleContext));
    modules.add(new SliceModule(contextScope, bundleContext.getBundle()));
    modules.add(new SlingModule(contextScope));
    modules.add(new JcrModule());
    modules.add(new SliceResourceModule());
    return modules;
  }
View Full Code Here

TOP

Related Classes of com.cognifide.slice.core.internal.module.SlingModule

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.