Package org.jboss.deployers.structure.spi

Examples of org.jboss.deployers.structure.spi.StructureBuilder


   {
      return new DefaultManagedObjectCreator();
   }
   protected StructuralDeployers createStructuralDeployers()
   {
      StructureBuilder builder = createStructureBuilder();
      AbstractStructuralDeployers structure = new AbstractStructuralDeployers();
      structure.setStructureBuilder(builder);
      return structure;
   }
View Full Code Here


      return new VFSStructureBuilder();
   }

   protected StructuralDeployers createStructuralDeployers()
   {
      StructureBuilder builder = createStructureBuilder();
      VFSStructuralDeployersImpl structure = new VFSStructuralDeployersImpl();
      structure.setStructureBuilder(builder);
      return structure;
   }
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

   }

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

      this.structureBuilder = structureBuilder;
   }

   public DeploymentContext determineStructure(Deployment deployment) throws DeploymentException
   {
      StructureBuilder builder = getStructureBuilder();
      if (builder == null)
         throw new IllegalStateException("No structure builder has been configured");
     
      Throwable problem = null;
View Full Code Here

/* 61 */     this.structureBuilder = structureBuilder;
/*    */   }
/*    */
/*    */   public DeploymentContext determineStructure(Deployment deployment) throws DeploymentException
/*    */   {
/* 66 */     StructureBuilder builder = getStructureBuilder();
/* 67 */     if (builder == null) {
/* 68 */       throw new IllegalStateException("No structure builder has been configured");
/*    */     }
/* 70 */     Attachments attachments = deployment.getPredeterminedManagedObjects();
/* 71 */     StructureMetaData structureMetaData = (StructureMetaData)attachments.getAttachment(StructureMetaData.class);
View Full Code Here

      this.structureBuilder = structureBuilder;
   }

   public DeploymentContext determineStructure(Deployment deployment) throws DeploymentException
   {
      StructureBuilder builder = getStructureBuilder();
      if (builder == null)
         throw new IllegalStateException("No structure builder has been configured");
     
      Attachments attachments = deployment.getPredeterminedManagedObjects();
      StructureMetaData structureMetaData = attachments.getAttachment(StructureMetaData.class);
View Full Code Here

TOP

Related Classes of org.jboss.deployers.structure.spi.StructureBuilder

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.