Package org.jboss.arquillian.seam2.container

Examples of org.jboss.arquillian.seam2.container.Seam2Enricher


   private void addSeamProperties(Archive<?> applicationArchive)
   {
      WebArchive webArchive = null;
      if (applicationArchive instanceof EnterpriseArchive)
      {
         webArchive = new WebArchiveExtractor().findTestableWebArchive(applicationArchive);
      }
      else if (applicationArchive instanceof WebArchive)
      {
         webArchive = (WebArchive) applicationArchive;
      }
View Full Code Here


   }

   private void enhanceWebDescriptor(Archive<?> applicationArchive)
   {
      final WebDescriptorEnhancer webDescriptorEnhancer = new WebDescriptorEnhancer();
      if (applicationArchive instanceof EnterpriseArchive)
      {
         webDescriptorEnhancer.enhance((EnterpriseArchive) applicationArchive);
      }
      else if (applicationArchive instanceof WebArchive)
      {
         webDescriptorEnhancer.enhance((WebArchive) applicationArchive);
      }
   }
View Full Code Here

      if (configurationInstance.get().getAdditionalLibraries() != null)
      {
         final String[] archives = configurationInstance.get().getAdditionalLibraries().split(",");
         for (String gav :  archives)
         {
            additionalDependencies = new ArrayMerger().merge(additionalDependencies, resolveArtifact(gav));
         }
      }
      return additionalDependencies;
   }
View Full Code Here

      else
      {
         seamDependencies = resolveArtifact(Seam2Configuration.SEAM_ARTIFACT, Seam2Configuration.DEFAULT_SEAM_VERSION);
      }

      return new ArrayMerger().merge(seamDependencies, addAdditionalDependencies());
   }
View Full Code Here

TOP

Related Classes of org.jboss.arquillian.seam2.container.Seam2Enricher

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.