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 ofResolvablePlaceholderAnnotationAttributes
from the specifiedannotation
static <A extends Annotation>
ResolvablePlaceholderAnnotationAttributes<A>of
(Map<String, Object> attributes, Class<A> annotationType, org.springframework.core.env.PropertyResolver propertyResolver) Create an instance ofResolvablePlaceholderAnnotationAttributes
from the specifiedannotation
static <A extends Annotation>
ResolvablePlaceholderAnnotationAttributes<A>of
(org.springframework.core.annotation.AnnotationAttributes attributes, org.springframework.core.env.PropertyResolver propertyResolver) Create an instance ofResolvablePlaceholderAnnotationAttributes
from the specifiedannotation
static Set<org.springframework.core.annotation.AnnotationAttributes>
ofSet
(org.springframework.core.annotation.AnnotationAttributes[] attributesArray, org.springframework.core.env.PropertyResolver propertyResolver) Create aset
ofGenericAnnotationAttributes
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
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods 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 ofResolvablePlaceholderAnnotationAttributes
from the specifiedannotation
- Type Parameters:
A
- theclass
ofannotation
- Parameters:
attributes
-AnnotationAttributes
propertyResolver
-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 ofResolvablePlaceholderAnnotationAttributes
from the specifiedannotation
- Type Parameters:
A
- theclass
ofannotation
- Parameters:
annotation
-annotation
propertyResolver
-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 ofResolvablePlaceholderAnnotationAttributes
from the specifiedannotation
- Type Parameters:
A
- theclass
ofannotation
- Parameters:
attributes
- TheMap
for 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 aset
ofGenericAnnotationAttributes
- Parameters:
attributesArray
-propertyResolver
-- Returns:
- non-null
-