public interface InjectionPointConfigurator
InjectionPoint instance.
CDI container must provides an implementation of this interface.
This builder is not thread safe and shall not be used concurrently.ProcessInjectionPoint.configureInjectionPoint()| Modifier and Type | Method and Description |
|---|---|
InjectionPointConfigurator |
addQualifier(Annotation qualifier)
Add the qualifier to the InjectionPoint to build
|
InjectionPointConfigurator |
addQualifiers(Annotation... qualifiers)
Add all the qualifiers to the InjectionPoint to build
|
InjectionPointConfigurator |
addQualifiers(Set<Annotation> qualifiers)
Add all the qualifiers to the InjectionPoint to build
|
InjectionPointConfigurator |
bean(Bean<?> bean)
Set the
Bean object representing the bean that defines the injection point. |
InjectionPointConfigurator |
delegate(boolean delegate)
Change the delegate status of the built InjectionPoint.
|
InjectionPointConfigurator |
qualifiers(Annotation... qualifiers)
Replace all qualifiers.
|
InjectionPointConfigurator |
qualifiers(Set<Annotation> qualifiers)
Replace all qualifiers.
|
InjectionPointConfigurator |
read(AnnotatedField<?> field)
Read the InjectionPoint information from the given
AnnotatedField. |
InjectionPointConfigurator |
read(AnnotatedParameter<?> param)
Read the InjectionPoint information from the given
AnnotatedParameter. |
InjectionPointConfigurator |
read(Field field)
Read the InjectionPoint information from the given
Field. |
InjectionPointConfigurator |
read(InjectionPoint injectionPoint)
Read the InjectionPoint information from the given
InjectionPoint. |
InjectionPointConfigurator |
read(Parameter param)
Read the InjectionPoint information from the given
Parameter. |
InjectionPointConfigurator |
transientField(boolean trans)
Change the transient status of the built InjectionPoint.
|
InjectionPointConfigurator |
type(Type requiredType)
Set the required
Type (that will be used during typesafe resolution)
of the InjectionPoint to build. |
InjectionPointConfigurator read(Field field)
Field.
All relevant information is overwritten.field - defining the InjectionPoint.InjectionPointConfigurator read(Parameter param)
Parameter.
All relevant information is overwritten.param - the parameter defining the InjectionPointInjectionPointConfigurator read(AnnotatedField<?> field)
AnnotatedField.
All relevant information is overwritten.field - defining the InjectionPointInjectionPointConfigurator read(AnnotatedParameter<?> param)
AnnotatedParameter.
All relevant information is overwritten.param - defining the InjectionPointInjectionPointConfigurator read(InjectionPoint injectionPoint)
InjectionPoint.
All relevant information is overwritten.injectionPoint - the InjectionPoint to get information fromInjectionPointConfigurator type(Type requiredType)
Type (that will be used during typesafe resolution)
of the InjectionPoint to build.requiredType - for the InjectionPoint to buildInjectionPointConfigurator addQualifier(Annotation qualifier)
qualifier - the qualifier to addInjectionPointConfigurator addQualifiers(Annotation... qualifiers)
qualifiers - a varargs or array of qualifiers to addInjectionPointConfigurator addQualifiers(Set<Annotation> qualifiers)
qualifiers - a Set of qualifiers to addInjectionPointConfigurator qualifiers(Annotation... qualifiers)
qualifiers - a varargs or array of qualifiers to replace to existing onesInjectionPointConfigurator qualifiers(Set<Annotation> qualifiers)
qualifiers - a Set of qualifiers to replace to existing onesInjectionPointConfigurator bean(Bean<?> bean)
Bean object representing the bean that defines the injection point. If the
injection point does not belong to a bean, return a null value.bean - the bean for this configured InjectionPointInjectionPointConfigurator delegate(boolean delegate)
delegate - boolean to define or undefine the delegate nature of the configured InjectionPointInjectionPointConfigurator transientField(boolean trans)
trans - boolean to define or undefine the transient nature of the configured InjectionPointCopyright © 2008-2016 JBoss by Red Hat, Inc.. All Rights Reserved.