Ales Justin wrote:
So you need a method (probably on ClassLoaderPolicy) like:
void addExtraDelegate(DelegateLoader dl);
That's what I did -- the code is already commited. ;-)
But had to "protected" expose getInformation() in BaseClassLoaderPolicy so ClassLoaderPolicy can add the new delegate loader.
No, just add it as a public method to BaseClassLoaderPolicy, it will get inherited into ClassLoaderPolicy.
Obviously the spi.base.* stuff has to have some public/protected methods otherwise it couldn't be used, but keep
whats exposed down to a minimum. :-)