Package org.jboss.deployers.vfs.plugins.structure

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


   }

   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

   }

   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

      return url.toString();
   }

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

   }

   @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

   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

      super(name);
   }

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

   }

   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

   }

   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

Related Classes of org.jboss.deployers.vfs.plugins.structure.VFSStructureBuilder

Copyright © 2018 www.massapicom. 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.