public class InjectionMetadata extends Object
Used by AutowiredAnnotationBeanPostProcessor
,
CommonAnnotationBeanPostProcessor
and
PersistenceAnnotationBeanPostProcessor
.
Modifier and Type | Class and Description |
---|---|
static class |
InjectionMetadata.InjectedElement
A single injected element.
|
Constructor and Description |
---|
InjectionMetadata(Class<?> targetClass,
Collection<InjectionMetadata.InjectedElement> elements) |
Modifier and Type | Method and Description |
---|---|
void |
checkConfigMembers(RootBeanDefinition beanDefinition) |
void |
clear(PropertyValues pvs)
Clear property skipping for the contained elements.
|
void |
inject(Object target,
String beanName,
PropertyValues pvs) |
static boolean |
needsRefresh(InjectionMetadata metadata,
Class<?> clazz) |
public InjectionMetadata(Class<?> targetClass, Collection<InjectionMetadata.InjectedElement> elements)
public void checkConfigMembers(RootBeanDefinition beanDefinition)
public void inject(Object target, @Nullable String beanName, @Nullable PropertyValues pvs) throws Throwable
Throwable
public void clear(@Nullable PropertyValues pvs)
public static boolean needsRefresh(@Nullable InjectionMetadata metadata, Class<?> clazz)