[jboss-dev-forums] [Design of POJO Server] - Re: EARStructure not deploying modules
scott.stark@jboss.org
do-not-reply at jboss.com
Thu Oct 26 19:45:22 EDT 2006
Not producing ContextInfos. This code:
| if (scan)
| {
| JARCandidateStructureVisitorFactory factory = new JARCandidateStructureVisitorFactory();
| final J2eeApplicationMetaData my = metaData;
| factory.setFilter(new VirtualFileFilter() {
| public boolean accepts(VirtualFile file)
| {
| if (my.hasModule(file.getName())) return false;
| return true;
| }
| });
| VirtualFileVisitor visitor = factory.createVisitor(context, null);
| root.visit(visitor);
| }
|
would need to be ported to create ContextInfos. I also do not see where the J2eeApplicationMetaData is created in the first placed based on annotations. The only place there the J2eeApplicationMetaData is populated is when its imported from the xml descriptors. If the J2eeApplicationMetaData has the module, there is no reason to scan so this looks like circular code to me.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3981184#3981184
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3981184
More information about the jboss-dev-forums
mailing list