com.jdon.container.access.TargetMetaRequestsHolder Maven / Gradle / Ivy
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();
}
}