Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
Currently SpiFly does not support the ServiceLoader.load(Class, ClassLoader) method, ignoring it completely.
The solution is to create a wrapper classloader which takes the specified classloader as the parent. If the parent lookup for a provider fails, fall through to the Service Loader Mediator mechanism. This method does not rely on the TCCL.