AutowireCandidateResolver implementation to use when no annotation
support is available. This implementation checks the bean definition only.
| Modifier and Type | Field and Description |
|---|---|
| public static final SimpleAutowireCandidateResolver | INSTANCE
Shared instance of |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public AutowireCandidateResolver | cloneIfNecessary()
Overrides default org. This implementation returns |
| public Class | getLazyResolutionProxyClass(DependencyDescriptor
the descriptor for the target method parameter or field descriptor, String the name of the bean that contains the injection point beanName)Overrides default org. Determine the proxy class for lazy resolution of the dependency target, if demanded by the injection point. |
| public Object | getLazyResolutionProxyIfNecessary(DependencyDescriptor
the descriptor for the target method parameter or field descriptor, String the name of the bean that contains the injection point beanName)Overrides default org. Build a proxy for lazy resolution of the actual dependency target, if demanded by the injection point. |
| public Object | getSuggestedValue(DependencyDescriptor
the descriptor for the target method parameter or field descriptor)Overrides default org. Determine whether a default value is suggested for the given dependency. |
| public boolean | hasQualifier(DependencyDescriptor
the descriptor for the target method parameter or field descriptor)Overrides default org. Determine whether the given descriptor declares a qualifier beyond the type (typically - but not necessarily - a specific kind of annotation). |
| public boolean | isAutowireCandidate(BeanDefinitionHolder
the bean definition including bean name and aliases bdHolder, DependencyDescriptor the descriptor for the target method parameter or field descriptor)Overrides default org. Determine whether the given bean definition qualifies as an autowire candidate for the given dependency. |
| public boolean | isRequired(DependencyDescriptor
the descriptor for the target method parameter or field descriptor)Overrides default org. Determine whether the given descriptor is effectively required. |
| INSTANCE | back to summary |
|---|---|
| public static final SimpleAutowireCandidateResolver INSTANCE Shared instance of
| |
| SimpleAutowireCandidateResolver | back to summary |
|---|---|
| public SimpleAutowireCandidateResolver() | |
| cloneIfNecessary | back to summary |
|---|---|
| public AutowireCandidateResolver cloneIfNecessary() Overrides default org. This implementation returns | |
| getLazyResolutionProxyClass | back to summary |
|---|---|
| public Class Overrides default org. Doc from org. Determine the proxy class for lazy resolution of the dependency target, if demanded by the injection point. The default implementation simply returns
| |
| getLazyResolutionProxyIfNecessary | back to summary |
|---|---|
| public Object getLazyResolutionProxyIfNecessary(DependencyDescriptor descriptor, String beanName) Overrides default org. Build a proxy for lazy resolution of the actual dependency target, if demanded by the injection point. The default implementation simply returns
| |
| getSuggestedValue | back to summary |
|---|---|
| public Object getSuggestedValue(DependencyDescriptor descriptor) Overrides default org. Doc from org. Determine whether a default value is suggested for the given dependency. The default implementation simply returns
| |
| hasQualifier | back to summary |
|---|---|
| public boolean hasQualifier(DependencyDescriptor descriptor) Overrides default org. Doc from org. Determine whether the given descriptor declares a qualifier beyond the type (typically - but not necessarily - a specific kind of annotation). The default implementation returns
| |
| isAutowireCandidate | back to summary |
|---|---|
| public boolean isAutowireCandidate(BeanDefinitionHolder bdHolder, DependencyDescriptor descriptor) Overrides default org. Doc from org. Determine whether the given bean definition qualifies as an autowire candidate for the given dependency. The default implementation checks
| |
| isRequired | back to summary |
|---|---|
| public boolean isRequired(DependencyDescriptor descriptor) Overrides default org. Doc from org. Determine whether the given descriptor is effectively required. The default implementation checks
| |