org.jboss.webbeans.bootstrap.spi
Interface WebBeanDiscovery

All Known Implementing Classes:
ForwardingWebBeanDiscovery

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

Field Summary
static java.lang.String PROPERTY_NAME
           
 
Method Summary
 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
 

Field Detail

PROPERTY_NAME

static final java.lang.String PROPERTY_NAME
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


Copyright © 2008-2009. All Rights Reserved.