public class WeldBeanDeploymentArchive extends AbstractWeldBeanDeploymentArchive
| Constructor and Description |
|---|
WeldBeanDeploymentArchive(String id,
Collection<String> beanClasses,
BeansXml beansXml) |
WeldBeanDeploymentArchive(String id,
Collection<String> beanClasses,
BeansXml beansXml,
Set<WeldBeanDeploymentArchive> beanDeploymentArchives) |
WeldBeanDeploymentArchive(String id,
Collection<String> beanClasses,
BeansXml beansXml,
Set<WeldBeanDeploymentArchive> beanDeploymentArchives,
Collection<Class<?>> loadedBeanClasses) |
| Modifier and Type | Method and Description |
|---|---|
Collection<String> |
getBeanClasses()
Gets all classes in the bean deployment archive.
|
Collection<BeanDeploymentArchive> |
getBeanDeploymentArchives()
Get the bean deployment archives which are accessible to this bean deployment archive and adjacent to it in the
deployment archive graph.
|
BeansXml |
getBeansXml()
Get any deployment descriptors in the bean deployment archive.
|
Collection<Class<?>> |
getLoadedBeanClasses()
Get all pre-loaded classes for the bean deployment archive.
|
static <T extends BeanDeploymentArchive> |
merge(CDI11Bootstrap bootstrap,
Iterable<T> archives) |
void |
setAccessibleBeanDeploymentArchives(Set<WeldBeanDeploymentArchive> beanDeploymentArchives) |
getEjbs, getId, getServices, toStringpublic WeldBeanDeploymentArchive(String id, Collection<String> beanClasses, BeansXml beansXml, Set<WeldBeanDeploymentArchive> beanDeploymentArchives)
id - beanClasses - The collection should be mutablebeansXml - beanDeploymentArchives - public WeldBeanDeploymentArchive(String id, Collection<String> beanClasses, BeansXml beansXml, Set<WeldBeanDeploymentArchive> beanDeploymentArchives, Collection<Class<?>> loadedBeanClasses)
public WeldBeanDeploymentArchive(String id, Collection<String> beanClasses, BeansXml beansXml)
public Collection<String> getBeanClasses()
BeanDeploymentArchiveFor an explicit bean archive this method returns a collection of all types present within the archive.
For an implicit bean archive this method returns all the types found in the archive which are annotated with a bean defining annotation or are Session bean definitions.
public Collection<Class<?>> getLoadedBeanClasses()
BeanDeploymentArchiveBeanDeploymentArchive.getBeanClasses().
If two names overlap the class object returned from this method is used.public Collection<BeanDeploymentArchive> getBeanDeploymentArchives()
BeanDeploymentArchivepublic BeansXml getBeansXml()
BeanDeploymentArchiveBootstrap.parse(java.net.URL),
Bootstrap.parse(Iterable)public void setAccessibleBeanDeploymentArchives(Set<WeldBeanDeploymentArchive> beanDeploymentArchives)
public static <T extends BeanDeploymentArchive> WeldBeanDeploymentArchive merge(CDI11Bootstrap bootstrap, Iterable<T> archives)
bootstrap - archives - Copyright © 2015. All Rights Reserved.