#
luxiaotao1123
2024-09-10 8bd64cd6a3f8721c2b1eb4075e61a1d3381e4aa8
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);
    }
 
}