public class InjectionPointConfiguratorImpl extends Object implements InjectionPointConfigurator
| Constructor and Description |
|---|
InjectionPointConfiguratorImpl() |
InjectionPointConfiguratorImpl(InjectionPoint injectionPoint) |
| 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 |
annotated(Annotated annotated) |
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 |
member(Member member) |
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 type)
Set the required
Type (that will be used during typesafe resolution)
of the InjectionPoint to build. |
public InjectionPointConfiguratorImpl()
public InjectionPointConfiguratorImpl(InjectionPoint injectionPoint)
public InjectionPointConfigurator read(Field field)
InjectionPointConfiguratorField.
All relevant information is overwritten.read in interface InjectionPointConfiguratorfield - defining the InjectionPoint.public InjectionPointConfigurator read(Parameter param)
InjectionPointConfiguratorParameter.
All relevant information is overwritten.read in interface InjectionPointConfiguratorparam - the parameter defining the InjectionPointpublic InjectionPointConfigurator read(AnnotatedField<?> field)
InjectionPointConfiguratorAnnotatedField.
All relevant information is overwritten.read in interface InjectionPointConfiguratorfield - defining the InjectionPointpublic InjectionPointConfigurator read(AnnotatedParameter<?> param)
InjectionPointConfiguratorAnnotatedParameter.
All relevant information is overwritten.read in interface InjectionPointConfiguratorparam - defining the InjectionPointpublic InjectionPointConfigurator read(InjectionPoint injectionPoint)
InjectionPointConfiguratorInjectionPoint.
All relevant information is overwritten.read in interface InjectionPointConfiguratorinjectionPoint - the InjectionPoint to get information frompublic InjectionPointConfigurator type(Type type)
InjectionPointConfiguratorType (that will be used during typesafe resolution)
of the InjectionPoint to build.type in interface InjectionPointConfiguratortype - for the InjectionPoint to buildpublic InjectionPointConfigurator addQualifier(Annotation qualifier)
InjectionPointConfiguratoraddQualifier in interface InjectionPointConfiguratorqualifier - the qualifier to addpublic InjectionPointConfigurator addQualifiers(Annotation... qualifiers)
InjectionPointConfiguratoraddQualifiers in interface InjectionPointConfiguratorqualifiers - a varargs or array of qualifiers to addpublic InjectionPointConfigurator addQualifiers(Set<Annotation> qualifiers)
InjectionPointConfiguratoraddQualifiers in interface InjectionPointConfiguratorqualifiers - a Set of qualifiers to addpublic InjectionPointConfigurator qualifiers(Annotation... qualifiers)
InjectionPointConfiguratorqualifiers in interface InjectionPointConfiguratorqualifiers - a varargs or array of qualifiers to replace to existing onespublic InjectionPointConfigurator qualifiers(Set<Annotation> qualifiers)
InjectionPointConfiguratorqualifiers in interface InjectionPointConfiguratorqualifiers - a Set of qualifiers to replace to existing onespublic InjectionPointConfigurator bean(Bean<?> bean)
InjectionPointConfiguratorBean object representing the bean that defines the injection point. If the
injection point does not belong to a bean, return a null value.bean in interface InjectionPointConfiguratorbean - the bean for this configured InjectionPointpublic InjectionPointConfigurator delegate(boolean delegate)
InjectionPointConfiguratordelegate in interface InjectionPointConfiguratordelegate - boolean to define or undefine the delegate nature of the configured InjectionPointpublic InjectionPointConfigurator transientField(boolean trans)
InjectionPointConfiguratortransientField in interface InjectionPointConfiguratortrans - boolean to define or undefine the transient nature of the configured InjectionPointpublic InjectionPointConfigurator member(Member member)
public InjectionPointConfigurator annotated(Annotated annotated)
Copyright © 2016. All Rights Reserved.