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

com.jdon.container.access.TargetMetaRequestsHolder Maven / Gradle / Ivy

Go to download

JdonFramework is a java framework that you can use to build your Domain Driven Design + CQRS + EventSource applications with asynchronous concurrency and higher throughput.

There is a newer version: 6.9
Show newest version
package com.jdon.container.access;

import java.io.Serializable;

public class TargetMetaRequestsHolder implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 2060798067579323872L;
	private static ThreadLocal targetMetaRequests = new ThreadLocal();

	public TargetMetaRequest getTargetMetaRequest() {
		return (TargetMetaRequest) targetMetaRequests.get();
	}

	public void setTargetMetaRequest(TargetMetaRequest targetMetaRequest) {
		targetMetaRequests.set(targetMetaRequest);
	}

	public void clear() {
		targetMetaRequests.remove();
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy