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<String> |
getKnownClasses()
If possible, return all the classes found in the archive.
|
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.default Collection<String> getKnownClasses()
getBeanClasses()
. For implicit bean archive this method should also return types which are neither annotated with bean defining annotations nor
are Session bean definitions.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–2016. All rights reserved.