Examples of ModificationTypeStructureProcessor


Examples of org.jboss.deployers.vfs.plugins.structure.modify.ModificationTypeStructureProcessor

   @Override
   protected StructureBuilder createStructureBuilder()
   {
      VFSStructureBuilder structureBuilder = (VFSStructureBuilder)super.createStructureBuilder();
      ModificationTypeStructureProcessor sp = new ModificationTypeStructureProcessor();
      sp.addMatcher(new TempTopModificationTypeMatcher("META-INF/components.xml"));
      structureBuilder.setStructureProcessor(sp);
      return structureBuilder;
   }
View Full Code Here

Examples of org.jboss.deployers.vfs.plugins.structure.modify.ModificationTypeStructureProcessor

      super(name);
   }

   protected StructureProcessor createStructureProcessor()
   {
      ModificationTypeStructureProcessor mtsp = new ModificationTypeStructureProcessor();

      ModificationTypeMatcher topAndChildren = createTempMatcher(ModificationType.TEMP, true, true, true, false, "child.xml");
      ModificationTypeMatcher directTop = createTempMatcher(ModificationType.TEMP, true, false, true, false, "top.xml");
      ModificationTypeMatcher justChildren = createTempMatcher(ModificationType.UNPACK, true, false, false, true, "sub.xml");

      mtsp.setMatchers(Arrays.asList(topAndChildren, directTop, justChildren));
      return mtsp;
   }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.