Simon Bence created NIFI-8434:
---------------------------------

             Summary: Add the possibility to use new class loader when a 
controller service is enabled
                 Key: NIFI-8434
                 URL: https://issues.apache.org/jira/browse/NIFI-8434
             Project: Apache NiFi
          Issue Type: Improvement
          Components: Core Framework
            Reporter: Simon Bence
            Assignee: Simon Bence


Currently NiFi supports both instance level class loading (with 
RequiresInstanceClassLoading annotation) and dynamically modified class path 
(with PropertyDescriptor.dynamicallyModifiesClassPath for controller services.

The PropertyDescriptor.dynamicallyModifiesClassPath, when the property changes, 
makes the framework to create a new ClassLoader, making a separate "sandbox" 
for the new run (enable) of the service.

In certain cases, this might not be enough and "reloading" of the ClassLoader 
would be preferred during every enabling of the controller service. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to