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

org.enodeframework.common.container.ObjectContainer Maven / Gradle / Ivy

There is a newer version: 1.1.10
Show newest version
package org.enodeframework.common.container;

import org.enodeframework.common.utilities.Ensure;

import java.util.Map;

/**
 * @author [email protected]
 */
public class ObjectContainer {

    public static IObjectContainer INSTANCE;

    public static String[] BASE_PACKAGES;

    public static  Map resolveAll(Class targetClz) {
        Ensure.notNull(INSTANCE, "ObjectContainer can not be null");
        return INSTANCE.resolveAll(targetClz);
    }

    public static  T resolve(Class targetClz) {
        Ensure.notNull(INSTANCE, "ObjectContainer can not be null");
        return INSTANCE.resolve(targetClz);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy