public interface BeanDeploymentArchive
BeanDeploymentArchive even if no beans.xml is present
(for example, a container could define a deployment archive with container specific metadata to be a bean deployment
archive).Deployment| 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<EjbDescriptor<?>> |
getEjbs()
Get all the EJBs in the deployment archive
|
String |
getId()
Get a string which uniquely identifies the
BeanDeploymentArchive within the Deployment. |
default Collection<Class<?>> |
getLoadedBeanClasses()
Get all pre-loaded classes for the bean deployment archive.
|
ServiceRegistry |
getServices()
Get the Bean Deployment Archive scoped services
|
Collection<BeanDeploymentArchive> getBeanDeploymentArchives()
Collection<String> getBeanClasses()
For 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.
default Collection<Class<?>> getLoadedBeanClasses()
getBeanClasses().
If two names overlap the class object returned from this method is used.BeansXml getBeansXml()
Bootstrap.parse(java.net.URL),
Bootstrap.parse(Iterable)Collection<EjbDescriptor<?>> getEjbs()
ServiceRegistry getServices()
String getId()
BeanDeploymentArchive within the Deployment. The identifier
must be consistent between multiple occurrences of this deployment.Copyright © 2008-2015. All Rights Reserved.