Package org.jboss.as.weld.deployment
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 ofCDI11Deployment
.Thread safety: This class is thread safe, and does not require a happens before action between construction and usage
- Author:
- Stuart Douglas
-
-
Field Summary
Fields Modifier and Type Field Description static String
ADDITIONAL_CLASSES_BDA_SUFFIX
static String
BOOTSTRAP_CLASSLOADER_BDA_ID
-
Constructor Summary
Constructors Constructor Description 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 Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T extends org.jboss.weld.bootstrap.api.Service>
voidaddWeldService(Class<T> type, T service)
protected BeanDeploymentArchiveImpl
createAndRegisterAdditionalBeanDeploymentArchive(org.jboss.modules.Module module, Class<?> beanClass)
org.jboss.weld.bootstrap.spi.BeanDeploymentArchive
getBeanDeploymentArchive(Class<?> beanClass)
Collection<org.jboss.weld.bootstrap.spi.BeanDeploymentArchive>
getBeanDeploymentArchives()
Iterable<org.jboss.weld.bootstrap.spi.Metadata<jakarta.enterprise.inject.spi.Extension>>
getExtensions()
org.jboss.modules.Module
getModule()
org.jboss.weld.bootstrap.api.ServiceRegistry
getServices()
Set<ClassLoader>
getSubDeploymentClassLoaders()
org.jboss.weld.bootstrap.spi.BeanDeploymentArchive
loadBeanDeploymentArchive(Class<?> beanClass)
-
-
-
Field Detail
-
ADDITIONAL_CLASSES_BDA_SUFFIX
public static final String ADDITIONAL_CLASSES_BDA_SUFFIX
- See Also:
- Constant Field Values
-
BOOTSTRAP_CLASSLOADER_BDA_ID
public static final String BOOTSTRAP_CLASSLOADER_BDA_ID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
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 Detail
-
getBeanDeploymentArchives
public Collection<org.jboss.weld.bootstrap.spi.BeanDeploymentArchive> getBeanDeploymentArchives()
- Specified by:
getBeanDeploymentArchives
in interfaceorg.jboss.weld.bootstrap.spi.Deployment
-
getExtensions
public Iterable<org.jboss.weld.bootstrap.spi.Metadata<jakarta.enterprise.inject.spi.Extension>> getExtensions()
- Specified by:
getExtensions
in interfaceorg.jboss.weld.bootstrap.spi.Deployment
-
getServices
public org.jboss.weld.bootstrap.api.ServiceRegistry getServices()
- Specified by:
getServices
in interfaceorg.jboss.weld.bootstrap.spi.Deployment
-
loadBeanDeploymentArchive
public org.jboss.weld.bootstrap.spi.BeanDeploymentArchive loadBeanDeploymentArchive(Class<?> beanClass)
- Specified by:
loadBeanDeploymentArchive
in interfaceorg.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 interfaceorg.jboss.weld.bootstrap.spi.CDI11Deployment
-
-