Community

Wildcard support in Dynamic-imports

reply from Ales Justin in JBoss Microcontainer Development - View the full discussion
Don't expose the stuff from spi.base - its implementation detail.

Add proper helper methods to the stuff in spi.

 

Its easy to make things public or protected, but then you'll have people poking around and breaking things.

 

All you want to do is add a delegate at runtime, not expose the ugly guts of the classloader! :-)

Done. ;-)

* http://anonsvn.jboss.org/repos/jbossas/projects/jboss-cl/trunk/classloading/src/main/java/org/jboss/classloading/spi/dependency/WildcardDelegateLoader.java

Reply to this message by going to Community

Start a new discussion in JBoss Microcontainer Development at Community