@Component public class SpringUtils extends Object implements org.springframework.context.ApplicationContextAware
| 构造器和说明 |
|---|
SpringUtils() |
public static <T> T getBean(Class<T> clz)
public void setApplicationContext(org.springframework.context.ApplicationContext ctx)
throws org.springframework.beans.BeansException
setApplicationContext 在接口中 org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansExceptionCopyright © 2024. All rights reserved.