Class ResolvablePlaceholderAnnotationAttributes<A extends java.lang.annotation.Annotation>
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.HashMap<K,V>
-
- java.util.LinkedHashMap<java.lang.String,java.lang.Object>
-
- org.springframework.core.annotation.AnnotationAttributes
-
- io.microsphere.spring.core.annotation.GenericAnnotationAttributes<A>
-
- io.microsphere.spring.core.annotation.ResolvablePlaceholderAnnotationAttributes<A>
-
- Type Parameters:
A- The type ofAnnotation
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable,java.util.Map<java.lang.String,java.lang.Object>
- Direct Known Subclasses:
PropertySourceExtensionAttributes
public class ResolvablePlaceholderAnnotationAttributes<A extends java.lang.annotation.Annotation> extends GenericAnnotationAttributes<A>
The resolvable placeholders ofAnnotationAttributes- Since:
- 1.0.0
- Author:
- Mercy
- See Also:
GenericAnnotationAttributes, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ResolvablePlaceholderAnnotationAttributes(A annotation, org.springframework.core.env.PropertyResolver propertyResolver)ResolvablePlaceholderAnnotationAttributes(java.util.Map<java.lang.String,java.lang.Object> another, java.lang.Class<A> annotationType, org.springframework.core.env.PropertyResolver propertyResolver)ResolvablePlaceholderAnnotationAttributes(org.springframework.core.annotation.AnnotationAttributes another, org.springframework.core.env.PropertyResolver propertyResolver)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <A extends java.lang.annotation.Annotation>
ResolvablePlaceholderAnnotationAttributes<A>of(A annotation, org.springframework.core.env.PropertyResolver propertyResolver)Create an instance ofResolvablePlaceholderAnnotationAttributesfrom the specifiedannotationstatic <A extends java.lang.annotation.Annotation>
ResolvablePlaceholderAnnotationAttributes<A>of(java.util.Map<java.lang.String,java.lang.Object> attributes, java.lang.Class<A> annotationType, org.springframework.core.env.PropertyResolver propertyResolver)Create an instance ofResolvablePlaceholderAnnotationAttributesfrom the specifiedannotationstatic <A extends java.lang.annotation.Annotation>
ResolvablePlaceholderAnnotationAttributes<A>of(org.springframework.core.annotation.AnnotationAttributes attributes, org.springframework.core.env.PropertyResolver propertyResolver)Create an instance ofResolvablePlaceholderAnnotationAttributesfrom the specifiedannotationstatic java.util.Set<org.springframework.core.annotation.AnnotationAttributes>ofSet(org.springframework.core.annotation.AnnotationAttributes[] attributesArray, org.springframework.core.env.PropertyResolver propertyResolver)Create asetofGenericAnnotationAttributes-
Methods inherited from class io.microsphere.spring.core.annotation.GenericAnnotationAttributes
annotationType, equals, hashCode, of, of, ofSet, toString
-
Methods inherited from class org.springframework.core.annotation.AnnotationAttributes
fromMap, getAnnotation, getAnnotation, getAnnotationArray, getAnnotationArray, getBoolean, getClass, getClassArray, getEnum, getNumber, getString, getStringArray
-
Methods inherited from class java.util.LinkedHashMap
clear, containsValue, entrySet, forEach, get, getOrDefault, keySet, removeEldestEntry, replaceAll, values
-
Methods inherited from class java.util.HashMap
clone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, size
-
-
-
-
Constructor Detail
-
ResolvablePlaceholderAnnotationAttributes
public ResolvablePlaceholderAnnotationAttributes(@Nonnull A annotation, @Nullable org.springframework.core.env.PropertyResolver propertyResolver)
-
ResolvablePlaceholderAnnotationAttributes
public ResolvablePlaceholderAnnotationAttributes(org.springframework.core.annotation.AnnotationAttributes another, @Nullable org.springframework.core.env.PropertyResolver propertyResolver)
-
ResolvablePlaceholderAnnotationAttributes
public ResolvablePlaceholderAnnotationAttributes(java.util.Map<java.lang.String,java.lang.Object> another, @Nonnull java.lang.Class<A> annotationType, @Nullable org.springframework.core.env.PropertyResolver propertyResolver)
-
-
Method Detail
-
of
@Nonnull public static <A extends java.lang.annotation.Annotation> ResolvablePlaceholderAnnotationAttributes<A> of(@Nonnull org.springframework.core.annotation.AnnotationAttributes attributes, @Nullable org.springframework.core.env.PropertyResolver propertyResolver)
Create an instance ofResolvablePlaceholderAnnotationAttributesfrom the specifiedannotation- Type Parameters:
A- theclassofannotation- Parameters:
attributes-AnnotationAttributespropertyResolver-PropertyResolver- Returns:
- non-null
-
of
@Nonnull public static <A extends java.lang.annotation.Annotation> ResolvablePlaceholderAnnotationAttributes<A> of(@Nonnull A annotation, @Nullable org.springframework.core.env.PropertyResolver propertyResolver)
Create an instance ofResolvablePlaceholderAnnotationAttributesfrom the specifiedannotation- Type Parameters:
A- theclassofannotation- Parameters:
annotation-annotationpropertyResolver-PropertyResolver- Returns:
- non-null
-
of
@Nonnull public static <A extends java.lang.annotation.Annotation> ResolvablePlaceholderAnnotationAttributes<A> of(java.util.Map<java.lang.String,java.lang.Object> attributes, java.lang.Class<A> annotationType, @Nullable org.springframework.core.env.PropertyResolver propertyResolver)
Create an instance ofResolvablePlaceholderAnnotationAttributesfrom the specifiedannotation- Type Parameters:
A- theclassofannotation- Parameters:
attributes- TheMapfor the attributes of annotationpropertyResolver-PropertyResolver- Returns:
- non-null
-
ofSet
@Nonnull public static java.util.Set<org.springframework.core.annotation.AnnotationAttributes> ofSet(@Nullable org.springframework.core.annotation.AnnotationAttributes[] attributesArray, @Nullable org.springframework.core.env.PropertyResolver propertyResolver)Create asetofGenericAnnotationAttributes- Parameters:
attributesArray-propertyResolver-- Returns:
- non-null
-
-