[jboss-dev-forums] [Design of POJO Server] - Re: .sar showing up multiple times

bill.burke@jboss.com do-not-reply at jboss.com
Wed Oct 4 11:24:03 EDT 2006


actually, what i mean is DeploymentContext.getRoot().getName() returns the .sar file.  Maybe the sub DeploymentUnit.getDeploymentContext().getRoot() is returning the .sar VirtualFile instead of the actual .jar nested within the .sar?  Not sure what the behavior is supposed to be...

I'm using du.getDeploymentContext().getRoot() to get a VirtualFile I can scan for classes with annotations.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3976048#3976048

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3976048



More information about the jboss-dev-forums mailing list