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 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 String META_INF_BEANS_XML
           
static String WEB_INF_BEANS_XML
           
static String WEB_INF_CLASSES
           
 
Constructor Summary
WebAppBeanDeploymentArchive(javax.servlet.ServletContext servletContext, org.jboss.weld.bootstrap.api.Bootstrap bootstrap)
           
 
Method Summary
protected  URLScanner createScanner(javax.servlet.ServletContext context)
           
 Collection<String> getBeanClasses()
           
 Collection<org.jboss.weld.bootstrap.spi.BeanDeploymentArchive> getBeanDeploymentArchives()
           
 org.jboss.weld.bootstrap.spi.BeansXml getBeansXml()
           
 Collection<org.jboss.weld.ejb.spi.EjbDescriptor<?>> getEjbs()
           
 String getId()
           
 org.jboss.weld.bootstrap.api.ServiceRegistry getServices()
           
 
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 String META_INF_BEANS_XML
See Also:
Constant Field Values

WEB_INF_BEANS_XML

public static final String WEB_INF_BEANS_XML
See Also:
Constant Field Values

WEB_INF_CLASSES

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

WebAppBeanDeploymentArchive

public WebAppBeanDeploymentArchive(javax.servlet.ServletContext servletContext,
                                   org.jboss.weld.bootstrap.api.Bootstrap bootstrap)
Method Detail

createScanner

protected URLScanner createScanner(javax.servlet.ServletContext context)

getBeanClasses

public Collection<String> getBeanClasses()
Specified by:
getBeanClasses in interface org.jboss.weld.bootstrap.spi.BeanDeploymentArchive

getBeanDeploymentArchives

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

getBeansXml

public org.jboss.weld.bootstrap.spi.BeansXml getBeansXml()
Specified by:
getBeansXml in interface org.jboss.weld.bootstrap.spi.BeanDeploymentArchive

getEjbs

public 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 String getId()
Specified by:
getId in interface org.jboss.weld.bootstrap.spi.BeanDeploymentArchive


Copyright © 2013 Seam Framework. All Rights Reserved.