"jaikiran" wrote : "david.lloyd(a)jboss.com" wrote : do nested JARs
which are just libraries qualify as deployment units?
| |
| No, they are not considered deployment units. Although i don't exactly know how
such jars are represented or accessed from a deployment unit. Probably they end up as some
kind of metadata? Ales?
|
Each nested jar in a jar is a sub-deployment.
Only jars in spec known locations are not considered as sub-deployments.
e.g. my.ear/lib/*.jar or my.war/WEB-INF/lib/*.jar
There might be more than one CL per app; e.g. ear with war.
It's the Module class that defines this.
Or what exactly are you looking for which DU::getClassLoader doesn't give you?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4247283#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...