org.jboss.webbeans.bootstrap.spi
Interface WebBeanDiscovery

All Superinterfaces:
Service
All Known Implementing Classes:
ForwardingWebBeanDiscovery

public interface WebBeanDiscovery
extends Service

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

Author:
Pete Muir

Method Summary
 java.lang.Iterable<java.lang.Class<?>> discoverWebBeanClasses()
          Gets list of all classes in classpath archives with META-INF/beans.xml (or for WARs WEB-INF/beans.xml) files
 java.lang.Iterable<java.net.URL> discoverWebBeansXml()
          Gets a list of all deployment descriptors in the app classpath
 

Method Detail

discoverWebBeanClasses

java.lang.Iterable<java.lang.Class<?>> discoverWebBeanClasses()
Gets list of all classes in classpath archives with META-INF/beans.xml (or for WARs WEB-INF/beans.xml) files

Returns:
An iterable over the classes

discoverWebBeansXml

java.lang.Iterable<java.net.URL> discoverWebBeansXml()
Gets a list of all deployment descriptors in the app classpath

Returns:
An iterable over the beans.xml files


Copyright © 2011. All Rights Reserved.