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(Class<?> beanClass)
Additional bean deployment archives are used for extentions, synthetic annotated types and beans which do not come from a bean archive.
|
protected org.jboss.weld.bootstrap.spi.BeanDeploymentArchive |
createAdditionalBeanDeploymentArchiveIfNeeded(Class<?> beanClass) |
org.jboss.weld.bootstrap.spi.BeanDeploymentArchive |
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, getServices
public 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 org.jboss.weld.bootstrap.spi.BeanDeploymentArchive getBeanDeploymentArchive(Class<?> beanClass)
protected org.jboss.weld.bootstrap.spi.BeanDeploymentArchive createAdditionalBeanDeploymentArchiveIfNeeded(Class<?> beanClass)
protected WeldBeanDeploymentArchive createAdditionalBeanDeploymentArchive(Class<?> beanClass)
beanClass
- protected void setBeanDeploymentArchivesAccessibility()
Copyright © 2017. All rights reserved.