protected void registerManagerFactory()

in src/main/java/org/apache/sling/commons/classloader/impl/Activator.java [75:82]


    protected void registerManagerFactory() {
        final Hashtable<String, String> props = new Hashtable<>();
        props.put(Constants.SERVICE_DESCRIPTION, "Apache Sling Dynamic Class Loader Service");
        props.put(Constants.SERVICE_VENDOR, "The Apache Software Foundation");
        this.service = new DynamicClassLoaderManagerFactory(this.bundleContext,
                this.packageAdminTracker.getService());
        this.serviceReg = this.bundleContext.registerService(DynamicClassLoaderManager.class, service, props);
    }