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

shz.spring.SpringContainer Maven / Gradle / Ivy

There is a newer version: 2023.2.5
Show newest version
package shz.spring;

import shz.core.Container;

import java.util.function.Supplier;

public final class SpringContainer implements Container.IContainer {
    public SpringContainer() {
    }

    @Override
    public  T get(String name) {
        return BeanContainer.get(name);
    }

    @Override
    public  T get(String name, Supplier supplier) {
        return BeanContainer.get(name, supplier);
    }

    @Override
    public  T get(Class cls) {
        return BeanContainer.get(cls);
    }

    @Override
    public  T get(Class cls, Supplier supplier) {
        return BeanContainer.get(cls, supplier);
    }

    @Override
    public String getProperty(String key) {
        return BeanContainer.getProperty(key);
    }

    @Override
    public String getExprProperty(String expr) {
        return BeanContainer.getExprProperty(expr);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy