public class SpringApplicationUtil extends Object
| 构造器和说明 |
|---|
SpringApplicationUtil() |
| 限定符和类型 | 方法和说明 |
|---|---|
static <A extends Annotation> |
getBeansWithAnnotations(org.springframework.context.event.ContextRefreshedEvent event,
Class<A> annotationType) |
static boolean |
isBootApplicationContext(org.springframework.context.event.ContextRefreshedEvent event) |
public static boolean isBootApplicationContext(org.springframework.context.event.ContextRefreshedEvent event)
public static <A extends Annotation> Object getBeansWithAnnotations(org.springframework.context.event.ContextRefreshedEvent event, Class<A> annotationType)
Copyright © 2019. All rights reserved.