public class WeldDeployment extends Object implements org.jboss.weld.bootstrap.spi.CDI11Deployment
CDI11Deployment
.
Thread safety: This class is thread safe, and does not require a happens before action between construction and usage
Modifier and Type | Field and Description |
---|---|
static String |
ADDITIONAL_CLASSES_BDA_SUFFIX |
static String |
BOOTSTRAP_CLASSLOADER_BDA_ID |
Constructor and Description |
---|
WeldDeployment(Set<BeanDeploymentArchiveImpl> beanDeploymentArchives,
Collection<org.jboss.weld.bootstrap.spi.Metadata<javax.enterprise.inject.spi.Extension>> extensions,
org.jboss.modules.Module module,
Set<ClassLoader> subDeploymentClassLoaders,
DeploymentUnit deploymentUnit) |
Modifier and Type | Method and Description |
---|---|
<T extends org.jboss.weld.bootstrap.api.Service> |
addWeldService(Class<T> type,
T service) |
protected BeanDeploymentArchiveImpl |
createAndRegisterAdditionalBeanDeploymentArchive(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<javax.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) |
public static final String ADDITIONAL_CLASSES_BDA_SUFFIX
public static final String BOOTSTRAP_CLASSLOADER_BDA_ID
public WeldDeployment(Set<BeanDeploymentArchiveImpl> beanDeploymentArchives, Collection<org.jboss.weld.bootstrap.spi.Metadata<javax.enterprise.inject.spi.Extension>> extensions, org.jboss.modules.Module module, Set<ClassLoader> subDeploymentClassLoaders, DeploymentUnit deploymentUnit)
public Collection<org.jboss.weld.bootstrap.spi.BeanDeploymentArchive> getBeanDeploymentArchives()
getBeanDeploymentArchives
in interface org.jboss.weld.bootstrap.spi.Deployment
public Iterable<org.jboss.weld.bootstrap.spi.Metadata<javax.enterprise.inject.spi.Extension>> getExtensions()
getExtensions
in interface org.jboss.weld.bootstrap.spi.Deployment
public org.jboss.weld.bootstrap.api.ServiceRegistry getServices()
getServices
in interface org.jboss.weld.bootstrap.spi.Deployment
public org.jboss.weld.bootstrap.spi.BeanDeploymentArchive loadBeanDeploymentArchive(Class<?> beanClass)
loadBeanDeploymentArchive
in interface org.jboss.weld.bootstrap.spi.Deployment
protected BeanDeploymentArchiveImpl createAndRegisterAdditionalBeanDeploymentArchive(Class<?> beanClass)
public org.jboss.modules.Module getModule()
public Set<ClassLoader> getSubDeploymentClassLoaders()
public <T extends org.jboss.weld.bootstrap.api.Service> void addWeldService(Class<T> type, T service)
public org.jboss.weld.bootstrap.spi.BeanDeploymentArchive getBeanDeploymentArchive(Class<?> beanClass)
getBeanDeploymentArchive
in interface org.jboss.weld.bootstrap.spi.CDI11Deployment
Copyright © 2013 JBoss by Red Hat. All rights reserved.