[jboss-dev-forums] [Design of POJO Server] - Re: Security Deployer assuming VFSDeploymentUnit

alesj do-not-reply at jboss.com
Thu Jan 29 03:47:13 EST 2009


This should work, as there is a StructureMD check before you demand VFSDeployment:
AbstractStructuralDeployers.java

  |       Attachments attachments = deployment.getPredeterminedManagedObjects();
  |       StructureMetaData structureMetaData = attachments.getAttachment(StructureMetaData.class);
  |       if (structureMetaData == null)
  |       {
  |          structureMetaData = StructureMetaDataFactory.createStructureMetaData();
  |          try
  |          {
  |             determineStructure(deployment, structureMetaData);
  | 
where determineStructure() is only impled for VFS based deployments.

But since you already have StructureMD, 
you should be by-passing that VFSD check.

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

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



More information about the jboss-dev-forums mailing list