com.softicar.platform.common.container.derived.CurrentDerivedObjectRegistry Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of platform-common Show documentation
Show all versions of platform-common Show documentation
The SoftiCAR Platform is a lightweight, Java-based library to create interactive business web applications.
package com.softicar.platform.common.container.derived;
import com.softicar.platform.common.core.singleton.Singleton;
/**
* Holds the thread-local instance of the {@link DerivedObjectRegistry}.
*
* @author Oliver Richers
*/
public class CurrentDerivedObjectRegistry {
private static final Singleton INSTANCE = new Singleton<>(DerivedObjectRegistry::new);
public static DerivedObjectRegistry getInstance() {
return INSTANCE.get();
}
}