com.scudata.common.ImportSpringBeanFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of esproc Show documentation
Show all versions of esproc Show documentation
SPL(Structured Process Language) A programming language specially for structured data computing.
package com.scudata.common;
import org.springframework.beans.BeansException;
import org.springframework.beans.factory.BeanFactory;
import org.springframework.context.ApplicationContext;
import org.springframework.context.ApplicationContextAware;
import org.springframework.stereotype.Component;
@Component
public class ImportSpringBeanFactory implements ApplicationContextAware{
public static BeanFactory beanFactory;
public void setApplicationContext(ApplicationContext applicationContext) throws BeansException {
ImportSpringBeanFactory.beanFactory = applicationContext.getAutowireCapableBeanFactory();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy