Use beanFactory getBean replaced old

2.1.0
mkk 2020-06-09 22:38:28 +08:00
parent 1a36c944fb
commit 6ad88506e8
1 changed files with 3 additions and 0 deletions

View File

@ -19,6 +19,9 @@ import org.springframework.util.Assert;
public class SOSContextHolder implements BeanFactoryAware, InitializingBean { public class SOSContextHolder implements BeanFactoryAware, InitializingBean {
/**
* @since 2.1.0
*/
private static BeanFactory beanFactory; private static BeanFactory beanFactory;