org.jboss.webbeans.ejb.spi
Interface EJBModule

All Superinterfaces:
BeanDeploymentArchive

public interface EJBModule
extends BeanDeploymentArchive

Represents an EJB bean deployment archive. If a bean deployment archive is identified as an EJB bean deployment, an instance of EJBModule should be returned instead of BeanDeploymentArchive; the Java EE container is responsible for identifying EJB bean deployment archives.

Author:
Pete Muir
See Also:
BeanDeploymentArchive, Deployment

Method Summary
 java.lang.Iterable<EjbDescriptor<?>> getEjbs()
          Get all the EJBs in the deployment archive
 
Methods inherited from interface org.jboss.webbeans.bootstrap.spi.BeanDeploymentArchive
getBeanClasses, getBeanDeploymentArchives, getBeansXml
 

Method Detail

getEjbs

java.lang.Iterable<EjbDescriptor<?>> getEjbs()
Get all the EJBs in the deployment archive

Returns:
an iteration of the EJBs, or empty if no EJBs are present


Copyright © 2008-2009. All Rights Reserved.