Class WeldDeployment

java.lang.Object
org.jboss.as.weld.deployment.WeldDeployment
All Implemented Interfaces:
org.jboss.weld.bootstrap.spi.CDI11Deployment, org.jboss.weld.bootstrap.spi.Deployment

public class WeldDeployment extends Object implements org.jboss.weld.bootstrap.spi.CDI11Deployment
Abstract implementation of CDI11Deployment.

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

Author:
Stuart Douglas
  • Field Details

  • Constructor Details

    • WeldDeployment

      public WeldDeployment(Set<BeanDeploymentArchiveImpl> beanDeploymentArchives, Collection<org.jboss.weld.bootstrap.spi.Metadata<jakarta.enterprise.inject.spi.Extension>> extensions, org.jboss.modules.Module module, Set<ClassLoader> subDeploymentClassLoaders, org.jboss.as.server.deployment.DeploymentUnit deploymentUnit, BeanDeploymentModule rootBeanDeploymentModule, Map<org.jboss.modules.ModuleIdentifier,org.jboss.weld.bootstrap.spi.EEModuleDescriptor> eeModuleDescriptors)
  • Method Details

    • getBeanDeploymentArchives

      public Collection<org.jboss.weld.bootstrap.spi.BeanDeploymentArchive> getBeanDeploymentArchives()
      Specified by:
      getBeanDeploymentArchives in interface org.jboss.weld.bootstrap.spi.Deployment
    • getExtensions

      public Iterable<org.jboss.weld.bootstrap.spi.Metadata<jakarta.enterprise.inject.spi.Extension>> getExtensions()
      Specified by:
      getExtensions in interface org.jboss.weld.bootstrap.spi.Deployment
    • getServices

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

      public org.jboss.weld.bootstrap.spi.BeanDeploymentArchive loadBeanDeploymentArchive(Class<?> beanClass)
      Specified by:
      loadBeanDeploymentArchive in interface org.jboss.weld.bootstrap.spi.Deployment
    • createAndRegisterAdditionalBeanDeploymentArchive

      protected BeanDeploymentArchiveImpl createAndRegisterAdditionalBeanDeploymentArchive(org.jboss.modules.Module module, Class<?> beanClass)
    • getModule

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

      public Set<ClassLoader> getSubDeploymentClassLoaders()
    • addWeldService

      public <T extends org.jboss.weld.bootstrap.api.Service> void addWeldService(Class<T> type, T service)
    • getBeanDeploymentArchive

      public org.jboss.weld.bootstrap.spi.BeanDeploymentArchive getBeanDeploymentArchive(Class<?> beanClass)
      Specified by:
      getBeanDeploymentArchive in interface org.jboss.weld.bootstrap.spi.CDI11Deployment