com.softicar.platform.common.container.derived.DerivedObjectRegistry 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 java.util.Collections;
import java.util.Map;
import java.util.Objects;
import java.util.WeakHashMap;
/**
* Manages all dependencies between {@link DerivedObject} instances and their
* source objects.
*
* All {@link DerivedObject} instances are referenced via weak references, thus,
* this registry will not prevent them from being collected. This is also true
* for the registered source objects.
*
* @author Oliver Richers
*/
public class DerivedObjectRegistry {
private final Map