Package com.cognifide.slice.core.internal.context

Examples of com.cognifide.slice.core.internal.context.SliceContextScope


   *
   * @return list of Slice-related modules
   */
  public static List<Module> createModules(final BundleContext bundleContext, final String injectorName,
      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());
View Full Code Here


      final String bundleNameFilter, final String basePackage) {
    return new SliceResourceModule(bundleContext, bundleNameFilter, basePackage);
  }

  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());
View Full Code Here

   * </ul>
   *
   * @return list of Slice-related modules
   */
  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());
View Full Code Here

TOP

Related Classes of com.cognifide.slice.core.internal.context.SliceContextScope

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.