Santosh,

That is accurate. Each NAR has its own isolated ClassLoader. Each NAR can also 
have a Parent NAR, which
results in specifying the parent ClassLoader. This is explained in more detail 
in the Developer Guide [1], in the
NiFi Archive (NAR) section [2].

Thanks
-Mark


[1] http://nifi.apache.org/docs/nifi-docs/html/developer-guide.html
[2] http://nifi.apache.org/docs/nifi-docs/html/developer-guide.html#nars


On Jul 19, 2017, at 6:25 AM, Santosh Pingale 
<[email protected]<mailto:[email protected]>> wrote:

For the curious people, here is something which confirms that NARs have their 
own isolated Classloader.
https://docs.hortonworks.com/HDPDocuments/HDF2/HDF-2.1.2/bk_dataflow-developer-guide/content/nars.html

EventAccess is an interface which has been loaded parent classloader(I guess) 
and hence it is accessible in NAR classloader. However, it brings me to next 
question. Is there any documentation to indicate what has been/would be loaded 
in which classloader?

Thanks
Santosh

Reply via email to