org.jboss.weld.environment.se.discovery
Class ImmutableBeanDeploymentArchive

java.lang.Object
  extended by org.jboss.weld.environment.se.discovery.AbstractWeldSEBeanDeploymentArchive
      extended by org.jboss.weld.environment.se.discovery.ImmutableBeanDeploymentArchive
All Implemented Interfaces:
org.jboss.weld.bootstrap.spi.BeanDeploymentArchive

public class ImmutableBeanDeploymentArchive
extends AbstractWeldSEBeanDeploymentArchive

An immutable implementation of BeanDeploymentArchive which must have classes and beans.xml resources added to it via ImmutableBeanDeploymentArchive#ImmutableBeanDeploymentArchive(String, Collection, Collection, List) or ImmutableBeanDeploymentArchive#ImmutableBeanDeploymentArchive(String, Collection, Collection)

See Deployment for more detailed information on creating deployment structures.

Author:
Pete Muir

Constructor Summary
ImmutableBeanDeploymentArchive(String id, Collection<String> beanClasses, org.jboss.weld.bootstrap.spi.BeansXml beansXml)
           
ImmutableBeanDeploymentArchive(String id, Collection<String> beanClasses, org.jboss.weld.bootstrap.spi.BeansXml beansXml, Collection<org.jboss.weld.bootstrap.spi.BeanDeploymentArchive> beanDeploymentArchives)
           
 
Method Summary
 Collection<String> getBeanClasses()
           
 Collection<org.jboss.weld.bootstrap.spi.BeanDeploymentArchive> getBeanDeploymentArchives()
           
 org.jboss.weld.bootstrap.spi.BeansXml getBeansXml()
           
 
Methods inherited from class org.jboss.weld.environment.se.discovery.AbstractWeldSEBeanDeploymentArchive
getEjbs, getId, getServices
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImmutableBeanDeploymentArchive

public ImmutableBeanDeploymentArchive(String id,
                                      Collection<String> beanClasses,
                                      org.jboss.weld.bootstrap.spi.BeansXml beansXml,
                                      Collection<org.jboss.weld.bootstrap.spi.BeanDeploymentArchive> beanDeploymentArchives)

ImmutableBeanDeploymentArchive

public ImmutableBeanDeploymentArchive(String id,
                                      Collection<String> beanClasses,
                                      org.jboss.weld.bootstrap.spi.BeansXml beansXml)
Method Detail

getBeanClasses

public Collection<String> getBeanClasses()

getBeanDeploymentArchives

public Collection<org.jboss.weld.bootstrap.spi.BeanDeploymentArchive> getBeanDeploymentArchives()

getBeansXml

public org.jboss.weld.bootstrap.spi.BeansXml getBeansXml()


Copyright © 2013 Seam Framework. All Rights Reserved.