Package org.miaixz.bus.spring.annotation
Class AnnotationWrapper<A extends Annotation>
java.lang.Object
org.miaixz.bus.spring.annotation.AnnotationWrapper<A>
用于将注解包装到spring环境
- Since:
- Java 17+
- Author:
- Kimi Liu
-
Method Summary
Modifier and TypeMethodDescriptionstatic <A extends Annotation>
AnnotationWrapper<A> of(Annotation annotation) 构造static <A extends Annotation>
AnnotationWrapper<A> 构造withBinder(PlaceHolderBinder binder) withEnvironment(org.springframework.core.env.Environment environment)
-
Method Details
-
of
构造- Type Parameters:
A- 泛型对象- Parameters:
clazz- Class对象- Returns:
- the object
-
of
构造- Type Parameters:
A- 泛型对象- Parameters:
annotation- 注解- Returns:
- the object
-
withBinder
-
withEnvironment
-
wrap
-