There are several things we need to look at:
The different methods in ClassLoaderHelper take a fallback classloader as additional parameter. This parameter can most likely be removed and the ClassLoaderHelper class itself can be used.
Currently only the TCCL and the current class loader are considered. I think we need to take into account an application provided classloader as well (container situtations). This ties into HSEARCH-1121.
I think we can make better use of AggregatedClassLoader for this purpose, abstracting away all the different classloaders. The aggregated classloader could be provided as a service.