tools.dynamia.integration.ObjectContainerContextHolder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tools.dynamia.integration Show documentation
Show all versions of tools.dynamia.integration Show documentation
A set of classes and interfaces that help integrate modules
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