public class InjectionMetadata
extends java.lang.Object
Used by AutowiredAnnotationBeanPostProcessor
,
CommonAnnotationBeanPostProcessor
and
PersistenceAnnotationBeanPostProcessor
.
Modifier and Type | Class and Description |
---|---|
static class |
InjectionMetadata.InjectedElement |
Modifier and Type | Field and Description |
---|---|
private java.util.Set<InjectionMetadata.InjectedElement> |
checkedElements |
private java.util.Collection<InjectionMetadata.InjectedElement> |
injectedElements |
private static Log |
logger |
private java.lang.Class<?> |
targetClass |
Constructor and Description |
---|
InjectionMetadata(java.lang.Class<?> targetClass,
java.util.Collection<InjectionMetadata.InjectedElement> elements) |
Modifier and Type | Method and Description |
---|---|
void |
checkConfigMembers(RootBeanDefinition beanDefinition) |
void |
clear(PropertyValues pvs) |
void |
inject(java.lang.Object target,
java.lang.String beanName,
PropertyValues pvs) |
static boolean |
needsRefresh(InjectionMetadata metadata,
java.lang.Class<?> clazz) |
private static final Log logger
private final java.lang.Class<?> targetClass
private final java.util.Collection<InjectionMetadata.InjectedElement> injectedElements
private volatile java.util.Set<InjectionMetadata.InjectedElement> checkedElements
public InjectionMetadata(java.lang.Class<?> targetClass, java.util.Collection<InjectionMetadata.InjectedElement> elements)
public void checkConfigMembers(RootBeanDefinition beanDefinition)
public void inject(java.lang.Object target, java.lang.String beanName, PropertyValues pvs) throws java.lang.Throwable
java.lang.Throwable
public void clear(PropertyValues pvs)
public static boolean needsRefresh(InjectionMetadata metadata, java.lang.Class<?> clazz)