org.jboss.webbeans.bootstrap.spi
Interface WebBeanDiscovery


public interface WebBeanDiscovery

A container should implement this interface to allow the Web Beans RI to discover the Web Beans to deploy

Author:
Pete Muir

Method Summary
 java.lang.Iterable<EjbDescriptor<?>> discoverEjbs()
          Gets a descriptor for each EJB in the application
 java.lang.Iterable<java.lang.Class<?>> discoverWebBeanClasses()
          Gets list of all classes in classpath archives with web-beans.xml files
 java.lang.Iterable<java.net.URL> discoverWebBeansXml()
          Gets a list of all web-beans.xml files in the app classpath
 

Method Detail

discoverWebBeanClasses

java.lang.Iterable<java.lang.Class<?>> discoverWebBeanClasses()
Gets list of all classes in classpath archives with web-beans.xml files

Returns:
An iterable over the classes

discoverWebBeansXml

java.lang.Iterable<java.net.URL> discoverWebBeansXml()
Gets a list of all web-beans.xml files in the app classpath

Returns:
An iterable over the web-beans.xml files

discoverEjbs

java.lang.Iterable<EjbDescriptor<?>> discoverEjbs()
Gets a descriptor for each EJB in the application

Returns:
The bean class to descriptor map


Copyright © 2008. All Rights Reserved.