org.jboss.weld.environment.servlet.deployment
Class WebAppBeanDeploymentArchive

java.lang.Object
  extended by org.jboss.weld.environment.servlet.deployment.WebAppBeanDeploymentArchive
All Implemented Interfaces:
org.jboss.weld.bootstrap.spi.BeanDeploymentArchive

public class WebAppBeanDeploymentArchive
extends java.lang.Object
implements org.jboss.weld.bootstrap.spi.BeanDeploymentArchive

The means by which Web Beans are discovered on the classpath. This will only discover simple web beans - there is no EJB/Servlet/JPA integration.

Author:
Peter Royle, Pete Muir, Ales Justin

Field Summary
static java.lang.String META_INF_BEANS_XML
           
static java.lang.String WEB_INF_BEANS_XML
           
static java.lang.String WEB_INF_CLASSES
           
 
Constructor Summary
WebAppBeanDeploymentArchive(javax.servlet.ServletContext servletContext)
           
 
Method Summary
 java.lang.Iterable<java.lang.Class<?>> discoverWeldClasses()
           
 java.lang.Iterable<java.net.URL> discoverWeldXml()
           
 java.util.Collection<java.lang.Class<?>> getBeanClasses()
           
 java.util.Collection<org.jboss.weld.bootstrap.spi.BeanDeploymentArchive> getBeanDeploymentArchives()
           
 java.util.Collection<java.net.URL> getBeansXml()
           
 java.util.Collection<org.jboss.weld.ejb.spi.EjbDescriptor<?>> getEjbs()
           
 java.lang.String getId()
           
 org.jboss.weld.bootstrap.api.ServiceRegistry getServices()
           
 java.util.Set<java.net.URL> getWeldUrls()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

META_INF_BEANS_XML

public static final java.lang.String META_INF_BEANS_XML
See Also:
Constant Field Values

WEB_INF_BEANS_XML

public static final java.lang.String WEB_INF_BEANS_XML
See Also:
Constant Field Values

WEB_INF_CLASSES

public static final java.lang.String WEB_INF_CLASSES
See Also:
Constant Field Values
Constructor Detail

WebAppBeanDeploymentArchive

public WebAppBeanDeploymentArchive(javax.servlet.ServletContext servletContext)
Method Detail

discoverWeldClasses

public java.lang.Iterable<java.lang.Class<?>> discoverWeldClasses()

discoverWeldXml

public java.lang.Iterable<java.net.URL> discoverWeldXml()

getWeldUrls

public java.util.Set<java.net.URL> getWeldUrls()

getBeanClasses

public java.util.Collection<java.lang.Class<?>> getBeanClasses()
Specified by:
getBeanClasses in interface org.jboss.weld.bootstrap.spi.BeanDeploymentArchive

getBeanDeploymentArchives

public java.util.Collection<org.jboss.weld.bootstrap.spi.BeanDeploymentArchive> getBeanDeploymentArchives()
Specified by:
getBeanDeploymentArchives in interface org.jboss.weld.bootstrap.spi.BeanDeploymentArchive

getBeansXml

public java.util.Collection<java.net.URL> getBeansXml()
Specified by:
getBeansXml in interface org.jboss.weld.bootstrap.spi.BeanDeploymentArchive

getEjbs

public java.util.Collection<org.jboss.weld.ejb.spi.EjbDescriptor<?>> getEjbs()
Specified by:
getEjbs in interface org.jboss.weld.bootstrap.spi.BeanDeploymentArchive

getServices

public org.jboss.weld.bootstrap.api.ServiceRegistry getServices()
Specified by:
getServices in interface org.jboss.weld.bootstrap.spi.BeanDeploymentArchive

getId

public java.lang.String getId()
Specified by:
getId in interface org.jboss.weld.bootstrap.spi.BeanDeploymentArchive


Copyright © 2008-2009 Seam Framework. All Rights Reserved.