Spring Framework

org.springframework.beans.annotation
Class AnnotationBeanUtils

java.lang.Object
  extended by org.springframework.beans.annotation.AnnotationBeanUtils

public abstract class AnnotationBeanUtils
extends java.lang.Object

General utility methods for working with annotations in JavaBeans style.

Since:
2.0
Author:
Rob Harrop, Juergen Hoeller

Constructor Summary
AnnotationBeanUtils()
           
 
Method Summary
static void copyPropertiesToBean(java.lang.annotation.Annotation ann, java.lang.Object bean, java.lang.String... excludedProperties)
          Copy the properties of the supplied Annotation to the supplied target bean.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnnotationBeanUtils

public AnnotationBeanUtils()
Method Detail

copyPropertiesToBean

public static void copyPropertiesToBean(java.lang.annotation.Annotation ann,
                                        java.lang.Object bean,
                                        java.lang.String... excludedProperties)
Copy the properties of the supplied Annotation to the supplied target bean. Any properties defined in excludedProperties will not be copied.

See Also:
BeanWrapper

Spring Framework