public class SpringUtils extends Object implements org.springframework.context.ApplicationContextAware
| 构造器和说明 |
|---|
SpringUtils() |
public void setApplicationContext(@NonNull
org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
setApplicationContext 在接口中 org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansExceptionpublic static <T> T getBean(Class<T> type)
Copyright © 2019. All rights reserved.