protected void activate()

in src/main/java/org/apache/sling/jcr/classloader/internal/ClassLoaderWriterImpl.java [130:142]


    protected void activate(final ComponentContext componentContext, Config config) {
        this.classPath = config.classpath();
        if ( this.classPath.endsWith("/") ) {
            this.classPath = this.classPath.substring(0, this.classPath.length() - 1);
        }
        if ( config.appendId()) {
            this.classPath = this.classPath + '/' + this.settings.getSlingId();
        }

        this.classLoaderOwner = config.owner();

        this.callerBundle = componentContext.getUsingBundle();
    }