[jboss-user] [JBoss Microcontainer Development] - Wildcard support in Dynamic-imports
Ales Justin
do-not-reply at jboss.com
Wed Jun 9 08:44:15 EDT 2010
Ales Justin [http://community.jboss.org/people/alesj] replied to the discussion
"Wildcard support in Dynamic-imports"
To view the discussion, visit: http://community.jboss.org/message/547061#547061
--------------------------------------------------------------
> And I have no idea how to hack around this dynamic loader to policy's delegates addition.
This would actually have to be done on CLInfo.
e.g.
ClassLoaderPolicy policy = getPolicy();
ClassLoaderInformation info = policy.getInformation(); // exposing this as protected in super, public in CLP
if (info != null)
info.addDelegate(loader); // new public method
Adding this hacks makes all previous wildcard tests pass. :-)
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/547061#547061]
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/5f2073c4/attachment.html
More information about the jboss-user
mailing list