T - public class BeanAttributesConfiguratorImpl<T> extends Object implements BeanAttributesConfigurator<T>
| Constructor and Description |
|---|
BeanAttributesConfiguratorImpl() |
BeanAttributesConfiguratorImpl(BeanAttributes<T> beanAttributes) |
| Modifier and Type | Method and Description |
|---|---|
BeanAttributesConfigurator<T> |
addQualifier(Annotation qualifier)
Add a qualifier to the configured bean
|
BeanAttributesConfigurator<T> |
addQualifiers(Annotation... qualifiers)
Add qualifiers to the bean.
|
BeanAttributesConfigurator<T> |
addQualifiers(Set<Annotation> qualifiers)
Add qualifiers to the bean.
|
BeanAttributesConfigurator<T> |
addStereotype(Class<? extends Annotation> stereotype)
Add a stereotype to the configured bean
|
BeanAttributesConfigurator<T> |
addStereotypes(Set<Class<? extends Annotation>> stereotypes)
Add stereotypes to the configured bean
|
BeanAttributesConfigurator<T> |
addTransitiveTypeClosure(Type type)
Adds an unrestricted set of bean types for the given type as if it represented a bean class of a managed bean.
|
BeanAttributesConfigurator<T> |
addType(Type type)
Add a type to the bean types
|
BeanAttributesConfigurator<T> |
addType(TypeLiteral<?> typeLiteral)
Add a type to the bean types
|
BeanAttributesConfigurator<T> |
addTypes(Set<Type> types)
Add types to the bean types
|
BeanAttributesConfigurator<T> |
addTypes(Type... types)
Add types to the bean types
|
BeanAttributesConfigurator<T> |
alternative(boolean alternative)
Change the alternative status of the configured bean.
|
BeanAttributesConfigurator<T> |
name(String name)
Set the name of the configured bean
|
BeanAttributesConfigurator<T> |
qualifiers(Annotation... qualifiers)
Replace all qualifiers.
|
BeanAttributesConfigurator<T> |
qualifiers(Set<Annotation> qualifiers)
Replace all qualifiers.
|
BeanAttributesConfigurator<T> |
scope(Class<? extends Annotation> scope)
Replace Bean scope
|
BeanAttributesConfigurator<T> |
stereotypes(Set<Class<? extends Annotation>> stereotypes)
Replace stereotypes on the configured bean
|
BeanAttributesConfigurator<T> |
types(Set<Type> types)
Replace bean types
|
BeanAttributesConfigurator<T> |
types(Type... types)
Replace bean types
|
public BeanAttributesConfiguratorImpl()
public BeanAttributesConfiguratorImpl(BeanAttributes<T> beanAttributes)
beanAttributes - public BeanAttributesConfigurator<T> addType(Type type)
BeanAttributesConfiguratoraddType in interface BeanAttributesConfigurator<T>type - the type to addpublic BeanAttributesConfigurator<T> addType(TypeLiteral<?> typeLiteral)
BeanAttributesConfiguratoraddType in interface BeanAttributesConfigurator<T>typeLiteral - the type to addpublic BeanAttributesConfigurator<T> addTypes(Type... types)
BeanAttributesConfiguratoraddTypes in interface BeanAttributesConfigurator<T>types - types to addpublic BeanAttributesConfigurator<T> addTypes(Set<Type> types)
BeanAttributesConfiguratoraddTypes in interface BeanAttributesConfigurator<T>types - types to addpublic BeanAttributesConfigurator<T> addTransitiveTypeClosure(Type type)
BeanAttributesConfiguratoraddTransitiveTypeClosure in interface BeanAttributesConfigurator<T>type - to build the closure frompublic BeanAttributesConfigurator<T> types(Type... types)
BeanAttributesConfiguratortypes in interface BeanAttributesConfigurator<T>types - the types of the configured beanpublic BeanAttributesConfigurator<T> types(Set<Type> types)
BeanAttributesConfiguratortypes in interface BeanAttributesConfigurator<T>types - the types of the configured beanpublic BeanAttributesConfigurator<T> scope(Class<? extends Annotation> scope)
BeanAttributesConfiguratorscope in interface BeanAttributesConfigurator<T>scope - new scope for the configured beanpublic BeanAttributesConfigurator<T> addQualifier(Annotation qualifier)
BeanAttributesConfiguratoraddQualifier in interface BeanAttributesConfigurator<T>qualifier - qualifier to addpublic BeanAttributesConfigurator<T> addQualifiers(Annotation... qualifiers)
BeanAttributesConfiguratoraddQualifiers in interface BeanAttributesConfigurator<T>qualifiers - qualifiers to addpublic BeanAttributesConfigurator<T> addQualifiers(Set<Annotation> qualifiers)
BeanAttributesConfiguratoraddQualifiers in interface BeanAttributesConfigurator<T>qualifiers - qualifiers to addpublic BeanAttributesConfigurator<T> qualifiers(Annotation... qualifiers)
BeanAttributesConfiguratorqualifiers in interface BeanAttributesConfigurator<T>qualifiers - qualifiers for the build beanpublic BeanAttributesConfigurator<T> qualifiers(Set<Annotation> qualifiers)
BeanAttributesConfiguratorqualifiers in interface BeanAttributesConfigurator<T>qualifiers - for the configured beanpublic BeanAttributesConfigurator<T> addStereotype(Class<? extends Annotation> stereotype)
BeanAttributesConfiguratoraddStereotype in interface BeanAttributesConfigurator<T>stereotype - stereotype to addpublic BeanAttributesConfigurator<T> addStereotypes(Set<Class<? extends Annotation>> stereotypes)
BeanAttributesConfiguratoraddStereotypes in interface BeanAttributesConfigurator<T>stereotypes - stereotypes to addpublic BeanAttributesConfigurator<T> stereotypes(Set<Class<? extends Annotation>> stereotypes)
BeanAttributesConfiguratorstereotypes in interface BeanAttributesConfigurator<T>stereotypes - for the configured beanpublic BeanAttributesConfigurator<T> name(String name)
BeanAttributesConfiguratorname in interface BeanAttributesConfigurator<T>name - name for the configured beanpublic BeanAttributesConfigurator<T> alternative(boolean alternative)
BeanAttributesConfiguratoralternative in interface BeanAttributesConfigurator<T>alternative - value for alternative propertyCopyright © 2016. All Rights Reserved.