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.
CDI Lite implementations are not required to provide support for Portable Extensions.
ProcessInjectionPoint.configureInjectionPoint()
Modifier and Type | Method and Description |
---|---|
InjectionPointConfigurator |
addQualifier(java.lang.annotation.Annotation qualifier)
Add the qualifier to the InjectionPoint to build
|
InjectionPointConfigurator |
addQualifiers(java.lang.annotation.Annotation... qualifiers)
Add all the qualifiers to the InjectionPoint to build
|
InjectionPointConfigurator |
addQualifiers(java.util.Set<java.lang.annotation.Annotation> qualifiers)
Add all the qualifiers to the InjectionPoint to build
|
InjectionPointConfigurator |
delegate(boolean delegate)
Change the delegate status of the built InjectionPoint.
|
InjectionPointConfigurator |
qualifiers(java.lang.annotation.Annotation... qualifiers)
Replace all qualifiers.
|
InjectionPointConfigurator |
qualifiers(java.util.Set<java.lang.annotation.Annotation> qualifiers)
Replace all qualifiers.
|
InjectionPointConfigurator |
transientField(boolean trans)
Change the transient status of the built InjectionPoint.
|
InjectionPointConfigurator |
type(java.lang.reflect.Type requiredType)
Set the required
Type (that will be used during typesafe resolution)
of the InjectionPoint to build. |
InjectionPointConfigurator type(java.lang.reflect.Type requiredType)
Type
(that will be used during typesafe resolution)
of the InjectionPoint to build.requiredType
- for the InjectionPoint to buildInjectionPointConfigurator addQualifier(java.lang.annotation.Annotation qualifier)
qualifier
- the qualifier to addInjectionPointConfigurator addQualifiers(java.lang.annotation.Annotation... qualifiers)
qualifiers
- a varargs or array of qualifiers to addInjectionPointConfigurator addQualifiers(java.util.Set<java.lang.annotation.Annotation> qualifiers)
qualifiers
- a Set of qualifiers to addInjectionPointConfigurator qualifiers(java.lang.annotation.Annotation... qualifiers)
qualifiers
- a varargs or array of qualifiers to replace to existing onesInjectionPointConfigurator qualifiers(java.util.Set<java.lang.annotation.Annotation> qualifiers)
qualifiers
- a Set of qualifiers to replace to existing onesInjectionPointConfigurator 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 InjectionPoint