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(ResourceLoader resourceLoader,
Bootstrap bootstrap,
Set<WeldBeanDeploymentArchive> beanDeploymentArchives,
Iterable<Metadata<Extension>> extensions) |
| Modifier and Type | Method and Description |
|---|---|
protected WeldBeanDeploymentArchive |
createAdditionalBeanDeploymentArchive(Class<?> beanClass)
Additional bean deployment archives are used for extentions, synthetic annotated types and beans which do not come from a bean archive.
|
protected BeanDeploymentArchive |
createAdditionalBeanDeploymentArchiveIfNeeded(Class<?> beanClass) |
BeanDeploymentArchive |
getBeanDeploymentArchive(Class<?> beanClass) |
Collection<BeanDeploymentArchive> |
getBeanDeploymentArchives() |
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(ResourceLoader resourceLoader, Bootstrap bootstrap, Set<WeldBeanDeploymentArchive> beanDeploymentArchives, Iterable<Metadata<Extension>> extensions)
resourceLoader - bootstrap - beanDeploymentArchives - The set should be mutable so that additional bean deployment archives can be eventually addedextensions - public Collection<BeanDeploymentArchive> getBeanDeploymentArchives()
public BeanDeploymentArchive loadBeanDeploymentArchive(Class<?> beanClass)
public BeanDeploymentArchive getBeanDeploymentArchive(Class<?> beanClass)
protected BeanDeploymentArchive createAdditionalBeanDeploymentArchiveIfNeeded(Class<?> beanClass)
protected WeldBeanDeploymentArchive createAdditionalBeanDeploymentArchive(Class<?> beanClass)
beanClass - protected void setBeanDeploymentArchivesAccessibility()
Copyright © 2016. All Rights Reserved.