Spring Framework

org.springframework.beans.factory.annotation
Class InjectionMetadata

java.lang.Object
  extended by org.springframework.beans.factory.annotation.InjectionMetadata

public class InjectionMetadata
extends java.lang.Object

Internal class for managing injection metadata. Not intended for direct use in applications.

Used by AutowiredAnnotationBeanPostProcessor, CommonAnnotationBeanPostProcessor and PersistenceAnnotationBeanPostProcessor.

Since:
2.5
Author:
Juergen Hoeller

Nested Class Summary
static class InjectionMetadata.InjectedElement
           
 
Constructor Summary
InjectionMetadata(java.lang.Class targetClass, java.util.Collection<InjectionMetadata.InjectedElement> elements)
           
 
Method Summary
 void checkConfigMembers(RootBeanDefinition beanDefinition)
           
 void inject(java.lang.Object target, java.lang.String beanName, PropertyValues pvs)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InjectionMetadata

public InjectionMetadata(java.lang.Class targetClass,
                         java.util.Collection<InjectionMetadata.InjectedElement> elements)
Method Detail

checkConfigMembers

public void checkConfigMembers(RootBeanDefinition beanDefinition)

inject

public void inject(java.lang.Object target,
                   java.lang.String beanName,
                   PropertyValues pvs)
            throws java.lang.Throwable
Throws:
java.lang.Throwable

Spring Framework