UnsatisfiedDependencyException.
Also available as an argument for factory methods, reacting to the
requesting injection point for building a customized bean instance.
UnsatisfiedDependencyException#getInjectionPoint(), org.springframework.beans.factory.config.DependencyDescriptor
| Modifier and Type | Field and Description |
|---|---|
| protected Field | |
| private volatile Annotation[] | |
| protected MethodParameter |
| Access | Constructor and Description |
|---|---|
| public | InjectionPoint(MethodParameter
the MethodParameter to wrap methodParameter)Create an injection point descriptor for a method or constructor parameter. |
| public | |
| protected | InjectionPoint(InjectionPoint
the original descriptor to create a copy from original)Copy constructor. |
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object
the reference object with which to compare. other)Overrides java. |
| public AnnotatedElement | Returns: the Field / Method / Constructor as AnnotatedElementReturn the wrapped annotated element. |
| public <A extends Annotation> A | Returns: the annotation instance, ornull if none foundthe annotation type to retrieve annotationType)Retrieve a field/parameter annotation of the given type, if any. |
| public Annotation[] | getAnnotations()
Obtain the annotations associated with the wrapped field or method/constructor parameter. |
| public Class | getDeclaredType()
Return the type declared by the underlying field or method/constructor parameter, indicating the injection type. |
| public Field | |
| public Member | Returns: the Field / Method / Constructor as MemberReturns the wrapped member, containing the injection point. |
| public MethodParameter | Returns: the MethodParameter, ornull if noneReturn the wrapped MethodParameter, if any. |
| public int | |
| protected final MethodParameter | Returns: the MethodParameter (nevernull)Return the wrapped MethodParameter, assuming it is present. |
| public String |
| field | back to summary |
|---|---|
| protected Field field
| |
| fieldAnnotations | back to summary |
|---|---|
| private volatile Annotation[] fieldAnnotations
| |
| methodParameter | back to summary |
|---|---|
| protected MethodParameter methodParameter
| |
| InjectionPoint | back to summary |
|---|---|
| public InjectionPoint(MethodParameter methodParameter) Create an injection point descriptor for a method or constructor parameter.
| |
| InjectionPoint | back to summary |
|---|---|
| public InjectionPoint(Field field) Create an injection point descriptor for a field.
| |
| InjectionPoint | back to summary |
|---|---|
| protected InjectionPoint(InjectionPoint original) Copy constructor.
| |
| InjectionPoint | back to summary |
|---|---|
| protected InjectionPoint() Just available for serialization purposes in subclasses. | |
| equals | back to summary |
|---|---|
| public boolean equals(Object other) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| getAnnotatedElement | back to summary |
|---|---|
| public AnnotatedElement getAnnotatedElement() Return the wrapped annotated element. Note In case of a method/constructor parameter, this exposes
the annotations declared on the method or constructor itself
(i.e. at the method/constructor level, not at the parameter level).
Use
| |
| getAnnotation | back to summary |
|---|---|
| public <A extends Annotation> A getAnnotation(Class<A> annotationType) Retrieve a field/parameter annotation of the given type, if any. | |
| getAnnotations | back to summary |
|---|---|
| public Annotation[] getAnnotations() Obtain the annotations associated with the wrapped field or method/constructor parameter. | |
| getDeclaredType | back to summary |
|---|---|
| public Class Return the type declared by the underlying field or method/constructor parameter, indicating the injection type. | |
| getField | back to summary |
|---|---|
| public Field getField() Return the wrapped Field, if any. Note Either MethodParameter or Field is available. | |
| getMember | back to summary |
|---|---|
| public Member getMember() Returns the wrapped member, containing the injection point.
| |
| getMethodParameter | back to summary |
|---|---|
| public MethodParameter getMethodParameter() Return the wrapped MethodParameter, if any. Note Either MethodParameter or Field is available.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for the object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| obtainMethodParameter | back to summary |
|---|---|
| protected final MethodParameter obtainMethodParameter() Return the wrapped MethodParameter, assuming it is present.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |