com.maxleap.code.LASClassManagerFactory Maven / Gradle / Ivy
package com.maxleap.code;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
/**
* stream
*/
public final class LASClassManagerFactory {
private static Map, LASClassManager> managerMap = new ConcurrentHashMap, LASClassManager>();
public static void putManager(Class clazz, LASClassManager entityManager) {
managerMap.put(clazz, entityManager);
}
public static LASClassManager getManager(Class clazz) {
return (LASClassManager) managerMap.get(clazz);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy