All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.scudata.common.ImportSpringBeanFactory Maven / Gradle / Ivy

Go to download

SPL(Structured Process Language) A programming language specially for structured data computing.

There is a newer version: 20240823
Show newest version
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