Package org.jboss.weld.bootstrap.spi
Interface CDI11Deployment
-
- All Superinterfaces:
Deployment
public interface CDI11Deployment extends Deployment
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BeanDeploymentArchivegetBeanDeploymentArchive(Class<?> beanClass)Returns theBeanDeploymentArchivecontaining the given class.-
Methods inherited from interface org.jboss.weld.bootstrap.spi.Deployment
getBeanDeploymentArchives, getExtensions, getServices, loadBeanDeploymentArchive
-
-
-
-
Method Detail
-
getBeanDeploymentArchive
BeanDeploymentArchive getBeanDeploymentArchive(Class<?> beanClass)
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
-
-