T - bean class infopublic abstract class BeanAttributesBuilder<T,A extends javax.enterprise.inject.spi.Annotated> extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
BeanAttributesBuilder.BeanAttributesBuilderFactory |
| Modifier and Type | Field and Description |
|---|---|
protected Boolean |
alternative |
protected A |
annotated |
protected String |
name |
protected Set<Annotation> |
qualifiers |
protected Class<? extends Annotation> |
scope |
protected Set<Class<? extends Annotation>> |
stereotypes |
protected Set<Type> |
types |
protected WebBeansContext |
webBeansContext |
| Modifier | Constructor and Description |
|---|---|
protected |
BeanAttributesBuilder(WebBeansContext webBeansContext,
A annotated)
Creates a bean instance.
|
| Modifier and Type | Method and Description |
|---|---|
BeanAttributesBuilder<T,A> |
alternative(boolean alternative) |
BeanAttributesImpl<T> |
build() |
protected void |
defineAlternative() |
protected abstract void |
defineName() |
protected void |
defineName(javax.enterprise.inject.spi.Annotated annotated,
Supplier<String> name) |
protected void |
defineQualifiers() |
protected abstract void |
defineScope() |
protected void |
defineScope(Class<?> declaringClass,
boolean onlyScopedBeans,
String errorMessage) |
protected void |
defineScope(String errorMessage) |
protected Set<Class<? extends Annotation>> |
defineStereotypes(javax.enterprise.inject.spi.Annotated annot) |
protected void |
defineTypes() |
static BeanAttributesBuilder.BeanAttributesBuilderFactory |
forContext(WebBeansContext webBeansContext) |
protected A |
getAnnotated() |
protected String |
getManagedBeanDefaultName(javax.enterprise.inject.spi.AnnotatedType<?> annotatedType) |
protected String |
getProducerDefaultName(javax.enterprise.inject.spi.AnnotatedMember<?> annotatedMember) |
protected abstract javax.enterprise.inject.spi.Annotated |
getSuperAnnotated() |
protected A extends javax.enterprise.inject.spi.Annotated annotated
protected WebBeansContext webBeansContext
protected Set<Annotation> qualifiers
protected Class<? extends Annotation> scope
protected String name
protected Set<Class<? extends Annotation>> stereotypes
protected Boolean alternative
protected BeanAttributesBuilder(WebBeansContext webBeansContext, A annotated)
annotated - public static BeanAttributesBuilder.BeanAttributesBuilderFactory forContext(WebBeansContext webBeansContext)
public BeanAttributesBuilder<T,A> alternative(boolean alternative)
public BeanAttributesImpl<T> build()
protected A getAnnotated()
protected void defineTypes()
protected void defineQualifiers()
protected abstract void defineScope()
protected void defineScope(String errorMessage)
protected void defineScope(Class<?> declaringClass, boolean onlyScopedBeans, String errorMessage)
protected abstract void defineName()
protected void defineName(javax.enterprise.inject.spi.Annotated annotated,
Supplier<String> name)
protected abstract javax.enterprise.inject.spi.Annotated getSuperAnnotated()
protected Set<Class<? extends Annotation>> defineStereotypes(javax.enterprise.inject.spi.Annotated annot)
protected void defineAlternative()
protected String getManagedBeanDefaultName(javax.enterprise.inject.spi.AnnotatedType<?> annotatedType)
protected String getProducerDefaultName(javax.enterprise.inject.spi.AnnotatedMember<?> annotatedMember)
Copyright © 2008–2020 The Apache Software Foundation. All rights reserved.