Package org.jboss.weld.bean.attributes
Class BeanAttributesFactory.BeanAttributesBuilder<T>
- java.lang.Object
-
- org.jboss.weld.bean.attributes.BeanAttributesFactory.BeanAttributesBuilder<T>
-
- Enclosing class:
- BeanAttributesFactory
public static class BeanAttributesFactory.BeanAttributesBuilder<T> extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected EnhancedAnnotated<T,?>
annotated
-
Constructor Summary
Constructors Constructor Description BeanAttributesBuilder(EnhancedAnnotated<T,?> annotated, Set<Type> types, BeanManagerImpl manager)
BeanAttributesBuilder(EnhancedAnnotated<T,?> annotated, BeanManagerImpl manager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BeanAttributes<T>
build()
protected String
getDefaultName(EnhancedAnnotated<?,?> annotated)
Gets the default name of the beanprotected void
initAlternative(EnhancedAnnotated<T,?> annotated)
protected void
initName(EnhancedAnnotated<T,?> annotated)
Initializes the nameprotected void
initQualifiers(Set<Annotation> qualifiers)
protected void
initQualifiers(EnhancedAnnotated<?,?> annotated)
protected void
initScope(EnhancedAnnotated<T,?> annotated)
protected boolean
initScopeFromStereotype()
protected <S> void
initStereotypes(EnhancedAnnotated<T,S> annotated, BeanManagerImpl manager)
protected void
validateScopeSet(Set<Annotation> scopes, EnhancedAnnotated<T,?> annotated)
-
-
-
Field Detail
-
annotated
protected final EnhancedAnnotated<T,?> annotated
-
-
Constructor Detail
-
BeanAttributesBuilder
public BeanAttributesBuilder(EnhancedAnnotated<T,?> annotated, Set<Type> types, BeanManagerImpl manager)
-
BeanAttributesBuilder
public BeanAttributesBuilder(EnhancedAnnotated<T,?> annotated, BeanManagerImpl manager)
-
-
Method Detail
-
initStereotypes
protected <S> void initStereotypes(EnhancedAnnotated<T,S> annotated, BeanManagerImpl manager)
-
initAlternative
protected void initAlternative(EnhancedAnnotated<T,?> annotated)
-
initName
protected void initName(EnhancedAnnotated<T,?> annotated)
Initializes the name
-
getDefaultName
protected String getDefaultName(EnhancedAnnotated<?,?> annotated)
Gets the default name of the bean- Returns:
- The default name
-
initQualifiers
protected void initQualifiers(Set<Annotation> qualifiers)
-
initQualifiers
protected void initQualifiers(EnhancedAnnotated<?,?> annotated)
-
initScope
protected void initScope(EnhancedAnnotated<T,?> annotated)
-
validateScopeSet
protected void validateScopeSet(Set<Annotation> scopes, EnhancedAnnotated<T,?> annotated)
-
initScopeFromStereotype
protected boolean initScopeFromStereotype()
-
build
public BeanAttributes<T> build()
-
-