Class ConfigurationPropertiesBeanInfo
- java.lang.Object
-
- io.microsphere.spring.boot.context.properties.ConfigurationPropertiesBeanInfo
-
public class ConfigurationPropertiesBeanInfo extends java.lang.ObjectThe information class for introspecting the bean annotated@ConfigurationProperties- Since:
- 1.0.0
- Author:
- Mercy
- See Also:
ConfigurationProperties
-
-
Constructor Summary
Constructors Constructor Description ConfigurationPropertiesBeanInfo(java.lang.Class<?> beanClass)ConfigurationPropertiesBeanInfo(java.lang.Class<?> beanClass, org.springframework.boot.context.properties.ConfigurationProperties annotation)ConfigurationPropertiesBeanInfo(java.lang.Class<?> beanClass, org.springframework.boot.context.properties.ConfigurationProperties annotation, java.lang.String prefix)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)org.springframework.boot.context.properties.ConfigurationPropertiesgetAnnotation()java.lang.Class<?>getBeanClass()java.lang.StringgetPrefix()java.beans.PropertyDescriptorgetPropertyDescriptor(java.lang.String name)java.util.List<java.beans.PropertyDescriptor>getPropertyDescriptors()inthashCode()java.lang.StringtoString()
-
-
-
Constructor Detail
-
ConfigurationPropertiesBeanInfo
public ConfigurationPropertiesBeanInfo(java.lang.Class<?> beanClass)
-
ConfigurationPropertiesBeanInfo
public ConfigurationPropertiesBeanInfo(java.lang.Class<?> beanClass, org.springframework.boot.context.properties.ConfigurationProperties annotation)
-
ConfigurationPropertiesBeanInfo
public ConfigurationPropertiesBeanInfo(java.lang.Class<?> beanClass, org.springframework.boot.context.properties.ConfigurationProperties annotation, java.lang.String prefix) throws java.lang.IllegalArgumentException- Parameters:
beanClass- the bean classannotation- the annotationprefix- the prefix of property name- Throws:
java.lang.IllegalArgumentException- if any argument isnull
-
-
Method Detail
-
getBeanClass
public java.lang.Class<?> getBeanClass()
-
getAnnotation
public org.springframework.boot.context.properties.ConfigurationProperties getAnnotation()
-
getPrefix
public java.lang.String getPrefix()
-
getPropertyDescriptors
public java.util.List<java.beans.PropertyDescriptor> getPropertyDescriptors()
-
getPropertyDescriptor
public java.beans.PropertyDescriptor getPropertyDescriptor(java.lang.String name)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-