Class BeanArchiveBuilder
- java.lang.Object
-
- org.jboss.weld.environment.deployment.discovery.BeanArchiveBuilder
-
public class BeanArchiveBuilder extends Object
A class used to store information about the bean archive and to build theWeldBeanDeploymentArchive
instance from the gathered information.- Author:
- Matej Briškár, Martin Kouba
-
-
Constructor Summary
Constructors Constructor Description BeanArchiveBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BeanArchiveBuilder
addClass(String className)
WeldBeanDeploymentArchive
build()
BeanArchiveBuilder
clearClasses()
Object
getAttribute(String key)
org.jboss.weld.bootstrap.spi.BeansXml
getBeansXml()
Set<String>
getClasses()
Iterator<String>
getClassIterator()
String
getId()
BeanArchiveBuilder
setAttribute(String key, Object value)
BeanArchiveBuilder
setBeansXml(org.jboss.weld.bootstrap.spi.BeansXml beansXml)
BeanArchiveBuilder
setId(String id)
-
-
-
Method Detail
-
build
public WeldBeanDeploymentArchive build()
- Returns:
- the bean deployment archive
-
getBeansXml
public org.jboss.weld.bootstrap.spi.BeansXml getBeansXml()
-
setBeansXml
public BeanArchiveBuilder setBeansXml(org.jboss.weld.bootstrap.spi.BeansXml beansXml)
-
getId
public String getId()
-
setId
public BeanArchiveBuilder setId(String id)
-
addClass
public BeanArchiveBuilder addClass(String className)
-
clearClasses
public BeanArchiveBuilder clearClasses()
-
setAttribute
public BeanArchiveBuilder setAttribute(String key, Object value)
-
-