public class WeldDeployment extends AbstractWeldDeployment
| Modifier and Type | Field and Description |
|---|---|
static String |
ADDITIONAL_BDA_ID |
static String |
SYNTHETIC_BDA_ID |
BEANS_XML, RESOURCES| Constructor and 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<javax.enterprise.inject.spi.Extension>> extensions) |
| Modifier and Type | Method and 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.
|
getExtensions, getServicespublic static final String ADDITIONAL_BDA_ID
public static final String SYNTHETIC_BDA_ID
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<javax.enterprise.inject.spi.Extension>> extensions)
resourceLoader - bootstrap - beanDeploymentArchives - The set should be mutable so that additional bean deployment archives can be eventually addedextensions - public Collection<org.jboss.weld.bootstrap.spi.BeanDeploymentArchive> getBeanDeploymentArchives()
public org.jboss.weld.bootstrap.spi.BeanDeploymentArchive loadBeanDeploymentArchive(Class<?> beanClass)
public WeldBeanDeploymentArchive getBeanDeploymentArchive(Class<?> beanClass)
protected WeldBeanDeploymentArchive getAndUpdateAdditionalBeanDeploymentArchive(Class<?> beanClass)
protected WeldBeanDeploymentArchive createAdditionalBeanDeploymentArchive()
beanClass - protected void setBeanDeploymentArchivesAccessibility()
Copyright © 2018. All rights reserved.