public static ApplicationContext getContext() {
        return context;
    }
Get the Spring ApplicationContext
instantiate class with Spring in non-Spring managed environment
inlong-manager/manager-plugins/base/src/main/java/org/apache/inlong/manager/plugin/util/ApplicationContextProvider.java