com.jdon.container.access.TargetMetaRequestsHolder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jdonframework Show documentation
Show all versions of jdonframework Show documentation
JdonFramework is a java framework that you can use to build your Domain Driven Design + CQRS + EventSource applications with asynchronous concurrency and higher throughput.
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();
}
}