public interface CDI11Deployment extends Deployment
| Modifier and Type | Method and Description |
|---|---|
BeanDeploymentArchive |
getBeanDeploymentArchive(Class<?> beanClass)
Returns the
BeanDeploymentArchive containing the given class. |
getBeanDeploymentArchives, getExtensions, getServices, loadBeanDeploymentArchiveBeanDeploymentArchive getBeanDeploymentArchive(Class<?> beanClass)
Returns the BeanDeploymentArchive containing the given class.
If the deployment archive containing the given class is not currently a bean deployment archive, null is returned. Unlike
Deployment.loadBeanDeploymentArchive(Class), invocation of this method never results in a new BeanDeploymentArchive
instance to be created. This method may be called at runtime.
Alternatively, this method may return some kind of a "root" BDA instead of returning null if the class does not come from a known bean archive.
beanClass - the given classBeanDeploymentArchive containing the bean class or null if no such BeanDeploymentArchive
existsCopyright © 2008–2017. All rights reserved.