package com.eactive.eai.rms.ext.kakaocard.cm;

import org.springframework.stereotype.Component;

@Component
public class KakaoCardCmDeploySuffixContextHolder {
   
   private final ThreadLocal<String> deploySuffixThreadLocal = new ThreadLocal<>();
   
   public void setDeploySuffix(String deploySuffix) {
      deploySuffixThreadLocal.set(deploySuffix);
   }
   
   public String getDeploySuffix() {
      return deploySuffixThreadLocal.get();
   }
   
   public void remove() {
      deploySuffixThreadLocal.remove();
   }

}