[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: classloading dependencies
jhalliday
do-not-reply at jboss.com
Tue Feb 10 10:48:17 EST 2009
Whilst waiting for the fix to make its way into branch 5.x I used the
<demand state="PreInstall">barModule</demand>
approach instead.
This correctly prevents a classloading attempt when barModule is not present.
However, when the module is present the ClassDefNotFound comes back.
I'm guessing barModule's classes are not exposed to other modules by default? If I don't control barModule, is there any way I can still get at its classes, short of copying the .jar files? :-)
Failing that, what's the correct meta data for barModule to expose things? jboss-classloading.xml with capabilities elements for anything it wants to publish?
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4208635#4208635
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4208635
More information about the jboss-dev-forums
mailing list