[jboss-user] [JBoss Microcontainer Development] - Wildcard support in Dynamic-imports

Adrian Brock do-not-reply at jboss.com
Wed Jun 9 09:05:25 EDT 2010


Adrian Brock [http://community.jboss.org/people/warjort] replied to the discussion

"Wildcard support in Dynamic-imports"

To view the discussion, visit: http://community.jboss.org/message/547070#547070

--------------------------------------------------------------
> 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
[http://community.jboss.org/message/547070#547070]

Start a new discussion in JBoss Microcontainer Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2115]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100609/f8b8908c/attachment.html 


More information about the jboss-user mailing list