Community

Wildcard support in Dynamic-imports

reply from Adrian Brock in JBoss Microcontainer Development - View the full discussion

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. :-)

Reply to this message by going to Community

Start a new discussion in JBoss Microcontainer Development at Community