Examples of VFSStructureBuilder


Examples of org.jboss.deployers.vfs.plugins.structure.VFSStructureBuilder

    public static VFSDeploymentContext getDeploymentContext(final VirtualFile esbArchive) throws Exception
    {
        VFSDeployment deployment = VFSDeploymentFactory.getInstance().createVFSDeployment(esbArchive);
        VFSStructuralDeployersImpl structuralDeployers = new VFSStructuralDeployersImpl();
        VFSStructureBuilder builder = new VFSStructureBuilder();
        structuralDeployers.setStructureBuilder(builder);
        StructureDeployer[] deployers = new StructureDeployer[]{new JARStructure()};
        for (StructureDeployer deployer : deployers)
        {
            structuralDeployers.addDeployer(deployer);
View Full Code Here

Examples of org.jboss.deployers.vfs.plugins.structure.VFSStructureBuilder

   }

   protected VFSDeploymentContext determineStructureWithStructureDeployers(VFSDeployment deployment, StructureDeployer... deployers) throws Exception
   {
      VFSStructuralDeployersImpl structuralDeployers = new TestStructuralDeployers();
      VFSStructureBuilder builder = getStructureBuilder();
      structuralDeployers.setStructureBuilder(builder);

      for (StructureDeployer deployer : deployers)
         structuralDeployers.addDeployer(deployer);
View Full Code Here

Examples of org.jboss.deployers.vfs.plugins.structure.VFSStructureBuilder

   }

   protected VFSDeploymentContext determineStructureWithStructureDeployers(VFSDeployment deployment, boolean serialize, StructureDeployer... deployers) throws Exception
   {
      VFSStructuralDeployersImpl structuralDeployers = new VFSStructuralDeployersImpl();
      VFSStructureBuilder builder = new VFSStructureBuilder();
      structuralDeployers.setStructureBuilder(builder);
     
      for (StructureDeployer deployer : deployers)
         structuralDeployers.addDeployer(deployer);
View Full Code Here

Examples of org.jboss.deployers.vfs.plugins.structure.VFSStructureBuilder

      return url.toString();
   }

   protected StructureBuilder createStructureBuilder()
   {
      return new VFSStructureBuilder();
   }
View Full Code Here

Examples of org.jboss.deployers.vfs.plugins.structure.VFSStructureBuilder

   }

   @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.VFSStructureBuilder

   public void testContextClassLoader() throws Exception
   {
      TestDummyClassLoader dummy = new TestDummyClassLoader();
      VFSStructuralDeployersImpl structuralDeployers = new VFSStructuralDeployersImpl();
      VFSStructureBuilder builder = new VFSStructureBuilder();
      structuralDeployers.setStructureBuilder(builder);
      structuralDeployers.addDeployer(new JARStructure());
      structuralDeployers.addDeployer(new FileStructure());

      ClassLoader previous = Thread.currentThread().getContextClassLoader();
View Full Code Here

Examples of org.jboss.deployers.vfs.plugins.structure.VFSStructureBuilder

      super(name);
   }

   protected VFSStructureBuilder getStructureBuilder()
   {
      return new VFSStructureBuilder();
   }
View Full Code Here

Examples of org.jboss.deployers.vfs.plugins.structure.VFSStructureBuilder

   }

   protected VFSDeploymentContext determineStructureWithStructureDeployers(VFSDeployment deployment, StructureDeployer... deployers) throws Exception
   {
      VFSStructuralDeployersImpl structuralDeployers = new TestStructuralDeployers();
      VFSStructureBuilder builder = getStructureBuilder();
      structuralDeployers.setStructureBuilder(builder);

      for (StructureDeployer deployer : deployers)
         structuralDeployers.addDeployer(deployer);
View Full Code Here

Examples of org.jboss.deployers.vfs.plugins.structure.VFSStructureBuilder

   }

   protected VFSDeploymentContext determineStructureWithStructureDeployers(VFSDeployment deployment, boolean serialize, StructureDeployer... deployers) throws Exception
   {
      VFSStructuralDeployersImpl structuralDeployers = new VFSStructuralDeployersImpl();
      VFSStructureBuilder builder = new VFSStructureBuilder();
      structuralDeployers.setStructureBuilder(builder);
     
      for (StructureDeployer deployer : deployers)
         structuralDeployers.addDeployer(deployer);
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.