#
luxiaotao1123
2024-09-19 e77a7958af2d32b20d82e3d03a9cfa0795a3da84
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
package com.zy.acs.gateway.config;
 
import com.zy.acs.framework.common.SpringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.Configuration;
 
import javax.annotation.PostConstruct;
 
/**
 * Created by vincent on 2023/3/14
 */
@Configuration
public class BeanFacConfig {
 
    @Autowired
    private ApplicationContext applicationContext;
 
    @PostConstruct
    public void handleInitSpringCtx() {
        SpringUtils.init(applicationContext);
    }
 
}