You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Krystian Nowak (JIRA)" <ji...@apache.org> on 2019/06/14 15:37:00 UTC

[jira] [Created] (SLING-8495) Make FSClassLoader its cache location root directory configurable

Krystian Nowak created SLING-8495:
-------------------------------------

             Summary: Make FSClassLoader its cache location root directory configurable
                 Key: SLING-8495
                 URL: https://issues.apache.org/jira/browse/SLING-8495
             Project: Sling
          Issue Type: Improvement
          Components: Commons
    Affects Versions: File System ClassLoader 1.0.10
            Reporter: Krystian Nowak


Currently FSClassLoader's cache location is on the bundle persistent storage area.
In cases when it would make more sense to externalize it to a different location, file system cache location root directory needs to be configurable.

For that [https://github.com/apache/sling-org-apache-sling-commons-fsclassloader/blob/master/src/main/java/org/apache/sling/commons/fsclassloader/impl/FSClassLoaderProvider.java#L108] needs to be made parametrized to have its "root" directory configurable.
Also:
* [https://github.com/apache/sling-org-apache-sling-commons-fsclassloader/blob/master/src/main/java/org/apache/sling/commons/fsclassloader/impl/FSClassLoaderWebConsole.java#L95]
* [https://github.com/apache/sling-org-apache-sling-commons-fsclassloader/blob/master/src/main/java/org/apache/sling/commons/fsclassloader/impl/FSClassLoaderMBeanImpl.java#L79]
* [https://github.com/apache/sling-org-apache-sling-commons-fsclassloader/blob/master/src/main/java/org/apache/sling/commons/fsclassloader/impl/FSClassLoaderMBeanImpl.java#L109]

should be changed accordingly.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)