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

tools.dynamia.integration.ObjectContainerContextHolder Maven / Gradle / Ivy

The newest version!
package tools.dynamia.integration;

public class ObjectContainerContextHolder {

    private static final ThreadLocal context = new ThreadLocal<>();

    public static void set(ObjectContainer container) {
        context.set(container);
    }

    public static ObjectContainer get() {
        return context.get();
    }

    public static void clear() {
        context.remove();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy