Package org.jboss.weld.bootstrap.spi
Interface CDI11Deployment
- All Superinterfaces:
Deployment
Represents CDI 1.1 and newer deployment.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiongetBeanDeploymentArchive(Class<?> beanClass) Returns theBeanDeploymentArchivecontaining the given class.Methods inherited from interface org.jboss.weld.bootstrap.spi.Deployment
getBeanDeploymentArchives, getExtensions, getServices, loadBeanDeploymentArchive
-
Method Details
-
getBeanDeploymentArchive
Returns the
BeanDeploymentArchivecontaining 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 newBeanDeploymentArchiveinstance 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.
- Parameters:
beanClass- the given class- Returns:
- the
BeanDeploymentArchivecontaining the bean class or null if no suchBeanDeploymentArchiveexists
-