public void activate()

in src/main/java/org/apache/sling/scripting/core/impl/BindingsValuesProvidersByContextImpl.java [115:133]


    public void activate(ComponentContext ctx) {
        bundleContext = ctx.getBundleContext();

        synchronized (pendingRefs) {
            for(ServiceReference<?> ref : pendingRefs) {
                addingService(ref);
            }
            pendingRefs.clear();
        }

        bvpTracker = new ServiceTracker<>(bundleContext, BindingsValuesProvider.class,
                new ProvidersServiceTrackerCustomizer<>());
        bvpTracker.open();

        // Map services can also be registered to provide bindings
        mapsTracker = new ServiceTracker<>(bundleContext, Map.class,
                new ProvidersServiceTrackerCustomizer<>());
        mapsTracker.open();
    }