"david.lloyd(a)jboss.com" wrote : OK how about this. What is the mechanism to
find the DeploymentUnit that a Class belongs to? Does jboss-cl give us something which
does this?
You can do this:
(1) Get CL for the class
(2) Get the Module for CL
(3) Search all DUs for matching Module
--> the one that has that Module as an attachment is your DU
There might be a faster way, but I need to check the code,
as this was off the top of my head. :-)
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4235907#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...