com.github.lontime.extspring.components.CopperComponentExt Maven / Gradle / Ivy
package com.github.lontime.extspring.components;
import org.springframework.beans.factory.InitializingBean;
import com.github.lontime.extcopper.CopperInstance;
import org.copperengine.core.DependencyInjector;
/**
* CopperComponentExt.
* @author lontime
* @since 1.0
*/
public class CopperComponentExt implements InitializingBean {
private DependencyInjector dependencyInjector;
public CopperComponentExt(DependencyInjector dependencyInjector) {
this.dependencyInjector = dependencyInjector;
}
@Override
public void afterPropertiesSet() {
CopperInstance.get().withDependencyInjector(dependencyInjector);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy