Class PluginsClassloader

All Implemented Interfaces:
Closeable, AutoCloseable

public class PluginsClassloader extends URLClassLoader
Loads a class, including searching within all plugin JAR files.

This method is essential for the collectFieldInjections() method, which processes field injections annotated with @Inject. Specifically, it addresses cases where the @Inject annotation references a Provider that returns an object. The class of this object may reside in a plugin JAR file, necessitating a comprehensive search to locate and load the class correctly.