Package org.jboss.deployers.structure.spi.helpers

Examples of org.jboss.deployers.structure.spi.helpers.AbstractStructureBuilder


      return mainDeployer;
   }

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


      return suite(DeployerSingleDeploymentTestCase.class);
   }

   protected void checkFailedDeployOnStructure(DeployerClient mainDeployer, final int failed, int size) throws Throwable
   {
      final StructureBuilder builder = new AbstractStructureBuilder();
      StructuralDeployers structuralDeployers = new StructuralDeployers()
      {
         public DeploymentContext determineStructure(Deployment deployment) throws DeploymentException
         {
            String name = deployment.getName();
            if (name.endsWith("deployment" + failed))
               throw new RuntimeException(String.valueOf(failed));
            return builder.populateContext(deployment, StructureMetaDataFactory.createStructureMetaData());
         }
      };
      ((MainDeployerImpl)mainDeployer).setStructuralDeployers(structuralDeployers);
     
      Deployment[] deployments = new Deployment[size];
View Full Code Here

      super(name);
   }

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

   protected StructureBuilder createStructureBuilder()
   {
      StructureBuilder structureBuilder = super.createStructureBuilder();
      if (structureBuilder instanceof AbstractStructureBuilder)
      {
         AbstractStructureBuilder asb = AbstractStructureBuilder.class.cast(structureBuilder);
         asb.setStructureProcessor(createStructureProcessor());
      }
      return structureBuilder;
   }
View Full Code Here

TOP

Related Classes of org.jboss.deployers.structure.spi.helpers.AbstractStructureBuilder

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.