#
vincentlu
2025-05-13 ebd2f4397a92c6a5096de1b86d59154363344720
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);
    }
 
}