Class BeanDeploymentArchiveImpl

  • All Implemented Interfaces:
    WildFlyBeanDeploymentArchive, org.jboss.weld.bootstrap.spi.BeanDeploymentArchive

    public class BeanDeploymentArchiveImpl
    extends Object
    implements WildFlyBeanDeploymentArchive
    Implementation of BeanDeploymentArchive.

    Thread Safety: This class is thread safe and does not require a happens before action between construction and usage

    Author:
    Stuart Douglas
    • Method Detail

      • addBeanDeploymentArchive

        public void addBeanDeploymentArchive​(org.jboss.weld.bootstrap.spi.BeanDeploymentArchive archive)
        Adds an accessible BeanDeploymentArchive.
      • addBeanDeploymentArchives

        public void addBeanDeploymentArchives​(Collection<? extends org.jboss.weld.bootstrap.spi.BeanDeploymentArchive> archives)
        Adds multiple accessible BeanDeploymentArchives
      • getBeanClasses

        public Collection<String> getBeanClasses()
        returns an unmodifiable copy of the bean classes in this BDA
        Specified by:
        getBeanClasses in interface org.jboss.weld.bootstrap.spi.BeanDeploymentArchive
      • getBeanDeploymentArchives

        public Collection<org.jboss.weld.bootstrap.spi.BeanDeploymentArchive> getBeanDeploymentArchives()
        Returns an unmodifiable copy of the bean deployment archives set
        Specified by:
        getBeanDeploymentArchives in interface org.jboss.weld.bootstrap.spi.BeanDeploymentArchive
      • getBeansXml

        public org.jboss.weld.bootstrap.spi.BeansXml getBeansXml()
        Specified by:
        getBeansXml in interface org.jboss.weld.bootstrap.spi.BeanDeploymentArchive
      • getEjbs

        public Collection<org.jboss.weld.ejb.spi.EjbDescriptor<?>> getEjbs()
        Specified by:
        getEjbs in interface org.jboss.weld.bootstrap.spi.BeanDeploymentArchive
      • getId

        public String getId()
        Specified by:
        getId in interface org.jboss.weld.bootstrap.spi.BeanDeploymentArchive
      • getServices

        public org.jboss.weld.bootstrap.api.ServiceRegistry getServices()
        Specified by:
        getServices in interface org.jboss.weld.bootstrap.spi.BeanDeploymentArchive
      • getModule

        public org.jboss.modules.Module getModule()
      • isRoot

        public boolean isRoot()
      • isAccessible

        public boolean isAccessible​(org.jboss.weld.bootstrap.spi.BeanDeploymentArchive target)
        Determines if a class from this BeanDeploymentArchiveImpl instance can access a class in the BeanDeploymentArchive instance represented by the specified BeanDeploymentArchive parameter according to the Jakarta EE class accessibility requirements.
        Parameters:
        target -
        Returns:
        true if an only if a class this archive can access a class from the archive represented by the specified parameter
      • getKnownClasses

        public Collection<String> getKnownClasses()
        Specified by:
        getKnownClasses in interface org.jboss.weld.bootstrap.spi.BeanDeploymentArchive