[jboss-dev-forums] [JBoss AS7 Development] - Re: META-INF/services for module extensions - question/issue
Jason Greene
do-not-reply at jboss.com
Thu Sep 8 14:28:42 EDT 2011
Jason Greene [http://community.jboss.org/people/jason.greene] created the discussion
"Re: META-INF/services for module extensions - question/issue"
To view the discussion, visit: http://community.jboss.org/message/625594#625594
--------------------------------------------------------------
To apply some more color, we have introduced a TCCL contract (What Brian was reffering to) in upstream master (which will be released in 7.0.2).
This will make it much easier to deal with as you mention legacy code, and also JDK APIs which just were not designed for a modular world.
As of 7.0.2:
* The TCCL during any MSC Service will be the defining classloader
* The TCCL during any management operation (includes extensions) will be the defining CL
So in a nutshell single arg ServiceLoader will work in 7.0.2. Although maybe you want to try our local master before that?
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/625594#625594]
Start a new discussion in JBoss AS7 Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2225]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20110908/e381ba03/attachment.html
More information about the jboss-dev-forums
mailing list