This class helps the addon classes to use a child-first class loading mechanism for class loading and creating instances.
Loading the addon class with a child-first delegation mechanims allows addons to use their specific version of dependent library.
public static boolean isAddon(String addonFullClassName)
Check whether the addon class should be loaded from addons jars.
The class is considered to be loaded from addons jar, iff server addons directory contains a directory named as addonName (addon simple class name in minuscule).
addonFullClassName - The complete class name of the addon
whether the addon class should be loaded from addons jar
Get the proper class loader for the class which could be an addon.
If the class is an addon, it should use its proper child-first class loader.
Otherwise, the originalClassLoader is used.
The created classloaders are stored and reused when asked for the same class next time.
addonClassName - The complete class name of the addon
originalClassLoader - The parent class loader of the addon class loader