Class WeldDeployment
- java.lang.Object
-
- org.jboss.weld.environment.deployment.AbstractWeldDeployment
-
- org.jboss.weld.environment.deployment.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 Summary
Fields Modifier and Type Field Description static String
ADDITIONAL_BDA_ID
static String
SYNTHETIC_BDA_ID
-
Fields inherited from class org.jboss.weld.environment.deployment.AbstractWeldDeployment
BEANS_XML, RESOURCES
-
-
Constructor Summary
Constructors Constructor Description 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)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected WeldBeanDeploymentArchive
createAdditionalBeanDeploymentArchive()
Additional bean deployment archives are used for extentions, synthetic annotated types and beans which do not come from a bean archive.protected WeldBeanDeploymentArchive
getAndUpdateAdditionalBeanDeploymentArchive(Class<?> beanClass)
WeldBeanDeploymentArchive
getBeanDeploymentArchive(Class<?> beanClass)
Collection<org.jboss.weld.bootstrap.spi.BeanDeploymentArchive>
getBeanDeploymentArchives()
org.jboss.weld.bootstrap.spi.BeanDeploymentArchive
loadBeanDeploymentArchive(Class<?> beanClass)
protected void
setBeanDeploymentArchivesAccessibility()
By default all bean archives see each other.-
Methods inherited from class org.jboss.weld.environment.deployment.AbstractWeldDeployment
getExtensions, getServices
-
-
-
-
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 addedextensions
-
-
-
Method Detail
-
getBeanDeploymentArchives
public Collection<org.jboss.weld.bootstrap.spi.BeanDeploymentArchive> getBeanDeploymentArchives()
-
loadBeanDeploymentArchive
public org.jboss.weld.bootstrap.spi.BeanDeploymentArchive loadBeanDeploymentArchive(Class<?> beanClass)
-
getBeanDeploymentArchive
public WeldBeanDeploymentArchive getBeanDeploymentArchive(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.
-
-