public final class SpringBeanUtils extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
<T> T |
getBean(Class<T> type)
acquire spring bean.
|
static SpringBeanUtils |
getInstance()
get SpringBeanUtils.
|
void |
setCfgContext(org.springframework.context.ConfigurableApplicationContext cfgContext)
set application context.
|
public static SpringBeanUtils getInstance()
public <T> T getBean(Class<T> type)
public void setCfgContext(org.springframework.context.ConfigurableApplicationContext cfgContext)
Copyright © 2022 tan. All rights reserved.