|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BeanDeploymentArchive
Represents a CDI bean deployment archive.
A deployment archive is any library jar, library directory, EJB jar, rar
archive or any war WEB-INF/classes directory contained in the Java EE
deployment (as defined in the Java Platform, Enterprise Edition (Java EE)
Specification, v6, Section 8.1.2).
TODO Java SE definition of a deployment archive
A bean deployment archive is any deployment archive with a META-INF/beans.xml
file, or for a war, with a WEB-INF/beans.xml.
The container is allowed to specify a deployment archive as
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
Method Summary | |
---|---|
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 . |
ServiceRegistry |
getServices()
Get the Bean Deployment Archive scoped services |
Method Detail |
---|
Collection<BeanDeploymentArchive> getBeanDeploymentArchives()
Collection<String> getBeanClasses()
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |