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

com.softicar.platform.common.core.singleton.SingletonSetThreadLocal Maven / Gradle / Ivy

Go to download

The SoftiCAR Platform is a lightweight, Java-based library to create interactive business web applications.

There is a newer version: 50.0.0
Show newest version
package com.softicar.platform.common.core.singleton;

/**
 * An {@link InheritableThreadLocal} used in {@link CurrentSingletonSet}.
 *
 * @author Oliver Richers
 */
class SingletonSetThreadLocal extends InheritableThreadLocal {

	@Override
	protected SingletonSet initialValue() {

		return new SingletonSet();
	}

	@Override
	protected SingletonSet childValue(SingletonSet parentSet) {

		return new SingletonSet(parentSet);
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy