[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: AbstractVFSParsingDeployer doesn't kick in upon server r

heiko.braun@jboss.com do-not-reply at jboss.com
Wed Mar 4 07:00:07 EST 2009


I did dig a little further and ame to this point:


  | 
  |  // try all name+suffix matches
  |       List<VirtualFile> files = vfsDeploymentUnit.getMetaDataFiles(name, suffix);
  |       switch (files.size())
  |       {
  |          case 0 :
  |             return null;
  |          case 1 :
  |             return parseAndInit(vfsDeploymentUnit, files.get(0), root);
  |          default :
  |             return handleMultipleFiles(vfsDeploymentUnit, root, files);
  |       }
  | 

Seems that the lookup by name+suffix returns an empty list.
What I don't understand is why this behaves differently when I copy an archive to the deploy directory when the server is running.

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

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



More information about the jboss-dev-forums mailing list