
io.github.factoryfx.copperbridge.CopperEngineContext Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of copperBridge Show documentation
Show all versions of copperBridge Show documentation
factoryfx dependency injection framework
The newest version!
package io.github.factoryfx.copperbridge;
import java.util.Map;
import org.copperengine.core.AbstractDependencyInjector;
public class CopperEngineContext extends AbstractDependencyInjector {
private final String type;
private final Map dependencyMap;
public CopperEngineContext(String type, Map dependencyMap) {
this.type = type;
this.dependencyMap = dependencyMap;
}
@Override
protected Object getBean(String beanId) {
return dependencyMap.get(beanId);
}
@Override
public String getType() {
return type;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy