Class ResolvablePlaceholderAnnotationAttributes<A extends Annotation>
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<K,V>
java.util.LinkedHashMap<String,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:
Serializable,Cloneable,Map<String,Object>
- Direct Known Subclasses:
PropertySourceExtensionAttributes
public class ResolvablePlaceholderAnnotationAttributes<A extends Annotation>
extends GenericAnnotationAttributes<A>
The resolvable placeholders of
AnnotationAttributes- Since:
- 1.0.0
- Author:
- Mercy
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object, V extends Object> -
Constructor Summary
ConstructorsConstructorDescriptionResolvablePlaceholderAnnotationAttributes(A annotation, org.springframework.core.env.PropertyResolver propertyResolver) ResolvablePlaceholderAnnotationAttributes(Map<String, Object> another, Class<A> annotationType, org.springframework.core.env.PropertyResolver propertyResolver) ResolvablePlaceholderAnnotationAttributes(org.springframework.core.annotation.AnnotationAttributes another, org.springframework.core.env.PropertyResolver propertyResolver) -
Method Summary
Modifier and TypeMethodDescriptionstatic <A extends Annotation>
ResolvablePlaceholderAnnotationAttributes<A>of(A annotation, org.springframework.core.env.PropertyResolver propertyResolver) Create an instance ofResolvablePlaceholderAnnotationAttributesfrom the specifiedannotationstatic <A extends Annotation>
ResolvablePlaceholderAnnotationAttributes<A>of(Map<String, Object> attributes, Class<A> annotationType, org.springframework.core.env.PropertyResolver propertyResolver) Create an instance ofResolvablePlaceholderAnnotationAttributesfrom the specifiedannotationstatic <A extends Annotation>
ResolvablePlaceholderAnnotationAttributes<A>of(org.springframework.core.annotation.AnnotationAttributes attributes, org.springframework.core.env.PropertyResolver propertyResolver) Create an instance ofResolvablePlaceholderAnnotationAttributesfrom the specifiedannotationstatic Set<org.springframework.core.annotation.AnnotationAttributes>ofSet(org.springframework.core.annotation.AnnotationAttributes[] attributesArray, org.springframework.core.env.PropertyResolver propertyResolver) Create asetofGenericAnnotationAttributesMethods inherited from class io.microsphere.spring.core.annotation.GenericAnnotationAttributes
annotationType, equals, hashCode, of, of, ofSet, toStringMethods inherited from class org.springframework.core.annotation.AnnotationAttributes
fromMap, getAnnotation, getAnnotation, getAnnotationArray, getAnnotationArray, getBoolean, getClass, getClassArray, getEnum, getNumber, getString, getStringArrayMethods inherited from class java.util.LinkedHashMap
clear, containsValue, entrySet, forEach, get, getOrDefault, keySet, removeEldestEntry, replaceAll, valuesMethods inherited from class java.util.HashMap
clone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, sizeMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, size
-
Constructor Details
-
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
-
-
Method Details
-
of
@Nonnull public static <A extends 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 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 Annotation> ResolvablePlaceholderAnnotationAttributes<A> of(Map<String, Object> attributes, 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 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
-