public class DeploymentImpl extends Object implements org.jboss.weld.bootstrap.spi.CDI11Deployment
| Constructor and Description |
|---|
DeploymentImpl(ReadableArchive archive,
Collection<EjbDescriptor> ejbs,
DeploymentContext context,
ArchiveFactory archiveFactory,
String moduleName)
Produce
BeanDeploymentArchives for this Deployment
from information from the provided ReadableArchive. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addDeployedEjbs(Collection<EjbDescriptor> ejbs) |
boolean |
addDynamicExtension(org.jboss.weld.bootstrap.spi.Metadata<javax.enterprise.inject.spi.Extension> extension) |
void |
buildDeploymentGraph()
Build the accessibility relationship between
BeanDeploymentArchives
for this Deployment. |
void |
cleanup() |
void |
clearDynamicExtensions() |
String |
getAppName() |
org.jboss.weld.bootstrap.spi.BeanDeploymentArchive |
getBeanDeploymentArchive(Class<?> beanClass)
Get a bda for the specified beanClass
|
org.jboss.weld.bootstrap.spi.BeanDeploymentArchive |
getBeanDeploymentArchiveForArchive(String archiveId) |
List<org.jboss.weld.bootstrap.spi.BeanDeploymentArchive> |
getBeanDeploymentArchives() |
Collection<EjbDescriptor> |
getDeployedEjbs() |
Iterable<org.jboss.weld.bootstrap.spi.Metadata<javax.enterprise.inject.spi.Extension>> |
getExtensions() |
Iterator<RootBeanDeploymentArchive> |
getLibJarRootBdas() |
Iterator<RootBeanDeploymentArchive> |
getRarRootBdas() |
org.jboss.weld.bootstrap.api.ServiceRegistry |
getServices() |
org.jboss.weld.bootstrap.spi.BeanDeploymentArchive |
loadBeanDeploymentArchive(Class<?> beanClass) |
boolean |
removeDynamicExtension(org.jboss.weld.bootstrap.spi.Metadata<javax.enterprise.inject.spi.Extension> extension) |
void |
scanArchive(ReadableArchive archive,
Collection<EjbDescriptor> ejbs,
DeploymentContext context,
String moduleName)
Produce
BeanDeploymentArchives for this Deployment
from information from the provided ReadableArchive. |
String |
toString() |
public DeploymentImpl(ReadableArchive archive, Collection<EjbDescriptor> ejbs, DeploymentContext context, ArchiveFactory archiveFactory, String moduleName)
BeanDeploymentArchives for this Deployment
from information from the provided ReadableArchive.public void scanArchive(ReadableArchive archive, Collection<EjbDescriptor> ejbs, DeploymentContext context, String moduleName)
BeanDeploymentArchives for this Deployment
from information from the provided ReadableArchive.
This method is called for subsequent modules after This Deployment has
been created.public void buildDeploymentGraph()
BeanDeploymentArchives
for this Deployment. This method must be called after all Weld
BeanDeploymentArchives have been produced for the
Deployment.public List<org.jboss.weld.bootstrap.spi.BeanDeploymentArchive> getBeanDeploymentArchives()
getBeanDeploymentArchives in interface org.jboss.weld.bootstrap.spi.Deploymentpublic org.jboss.weld.bootstrap.spi.BeanDeploymentArchive loadBeanDeploymentArchive(Class<?> beanClass)
loadBeanDeploymentArchive in interface org.jboss.weld.bootstrap.spi.Deploymentpublic org.jboss.weld.bootstrap.api.ServiceRegistry getServices()
getServices in interface org.jboss.weld.bootstrap.spi.Deploymentpublic Iterable<org.jboss.weld.bootstrap.spi.Metadata<javax.enterprise.inject.spi.Extension>> getExtensions()
getExtensions in interface org.jboss.weld.bootstrap.spi.Deploymentpublic boolean addDynamicExtension(org.jboss.weld.bootstrap.spi.Metadata<javax.enterprise.inject.spi.Extension> extension)
public boolean removeDynamicExtension(org.jboss.weld.bootstrap.spi.Metadata<javax.enterprise.inject.spi.Extension> extension)
public void clearDynamicExtensions()
public org.jboss.weld.bootstrap.spi.BeanDeploymentArchive getBeanDeploymentArchiveForArchive(String archiveId)
public void cleanup()
protected void addDeployedEjbs(Collection<EjbDescriptor> ejbs)
public Collection<EjbDescriptor> getDeployedEjbs()
public org.jboss.weld.bootstrap.spi.BeanDeploymentArchive getBeanDeploymentArchive(Class<?> beanClass)
getBeanDeploymentArchive in interface org.jboss.weld.bootstrap.spi.CDI11DeploymentbeanClass - The beanClass to get the bda for.public Iterator<RootBeanDeploymentArchive> getLibJarRootBdas()
public Iterator<RootBeanDeploymentArchive> getRarRootBdas()
public String getAppName()
Copyright © 2017. All rights reserved.