org.enodeframework.common.container.ObjectContainer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of enode Show documentation
Show all versions of enode Show documentation
The enodeframework core implementation.
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);
}
}