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());