[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: JBMICROCONT-105, structural deployer, vfs refactoring
scott.stark@jboss.org
do-not-reply at jboss.com
Tue Oct 24 14:15:46 EDT 2006
One issue I'm running into with the refactored structural deployer code is that a number of the unit tests expect that "top-level" deployments are accepted as valid. Both the JarStructure and FileStructure were accepting top-level directories (based on DeploymentContext.isTopLevel()) as valid without validating anything about the actual structure.
Before trying to restore this behavior, I want to question this as a valid construct. Its essentially a mix of pre-determined structure with the root being marked as a valid deployment, but the children unknown. With the new structure deployment spi, such a deployment would have to have a StructureMetaData with a ContextInfo that corresponds to the valid root. With such a StructureMetaData, there is not much point in validating that the structure deployers recognize the VirtualFile for the root as valid since its declared to be so.
I'll hack around it for now and come back to this if its causing other issues.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3980472#3980472
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3980472
More information about the jboss-dev-forums
mailing list