Class WeldDeployment

  • All Implemented Interfaces:
    org.jboss.weld.bootstrap.spi.CDI11Deployment, org.jboss.weld.bootstrap.spi.Deployment

    public class WeldDeployment
    extends AbstractWeldDeployment
    Author:
    Peter Royle, Martin Kouba
    • Field Detail

      • ADDITIONAL_BDA_ID

        public static final String ADDITIONAL_BDA_ID
      • SYNTHETIC_BDA_ID

        public static final String SYNTHETIC_BDA_ID
    • Constructor Detail

      • WeldDeployment

        public WeldDeployment​(org.jboss.weld.resources.spi.ResourceLoader resourceLoader,
                              org.jboss.weld.bootstrap.api.Bootstrap bootstrap,
                              Set<WeldBeanDeploymentArchive> beanDeploymentArchives,
                              Iterable<org.jboss.weld.bootstrap.spi.Metadata<jakarta.enterprise.inject.spi.Extension>> extensions)
        Parameters:
        resourceLoader -
        bootstrap -
        beanDeploymentArchives - The set should be mutable so that additional bean deployment archives can be eventually added
        extensions -
    • Method Detail

      • getBeanDeploymentArchives

        public Collection<org.jboss.weld.bootstrap.spi.BeanDeploymentArchive> getBeanDeploymentArchives()
      • loadBeanDeploymentArchive

        public org.jboss.weld.bootstrap.spi.BeanDeploymentArchive loadBeanDeploymentArchive​(Class<?> beanClass)
      • getAndUpdateAdditionalBeanDeploymentArchive

        protected WeldBeanDeploymentArchive getAndUpdateAdditionalBeanDeploymentArchive​(Class<?> beanClass)
      • createAdditionalBeanDeploymentArchive

        protected WeldBeanDeploymentArchive createAdditionalBeanDeploymentArchive()
        Additional bean deployment archives are used for extentions, synthetic annotated types and beans which do not come from a bean archive.
        Parameters:
        beanClass -
        Returns:
        the additional bean deployment archive
      • setBeanDeploymentArchivesAccessibility

        protected void setBeanDeploymentArchivesAccessibility()
        By default all bean archives see each other.