Class WebArchiveBuilder


  • public class WebArchiveBuilder
    extends ArchiveBuilder<WebArchiveBuilder,​org.jboss.shrinkwrap.api.spec.WebArchive>
    ShrinkWrap WebArchive builder for CDI TCK Arquillian test. This builder is intended to provide basic functionality covering common TCK needs. Use shrinkwrap API to adapt archive to advanced scenarios.
    Author:
    Martin Kouba
    • Constructor Detail

      • WebArchiveBuilder

        public WebArchiveBuilder()
    • Method Detail

      • withBeansDescriptorTargetBase

        public WebArchiveBuilder withBeansDescriptorTargetBase​(String beansDescriptorTargetBase)
        Set the beans.xml descriptor target path base.

        By default the target base is null and the beans.xml descriptor is placed in WEB-INF dir. However CDI 1.1 allows an alternative location: WEB-INF/classes/META-INF.

        Parameters:
        beansDescriptorTargetBase -
        Returns:
        self
      • buildInternal

        protected org.jboss.shrinkwrap.api.spec.WebArchive buildInternal()
        Specified by:
        buildInternal in class ArchiveBuilder<WebArchiveBuilder,​org.jboss.shrinkwrap.api.spec.WebArchive>
        Returns:
        concrete shrinkwrap archive