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

io.github.factoryfx.copperbridge.CopperEngineContext Maven / Gradle / Ivy

There is a newer version: 3.2.1
Show 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 - 2024 Weber Informatics LLC | Privacy Policy