public final class OperationContextHelper {
    private static final ThreadLocal THREADLOCAL = new ThreadLocal();
   
    private OperationContextHelper() {
        super();
    }
   
    public static Object getOperationContext() {
        return (THREADLOCAL.get());
    }
   
    @SuppressWarnings("unchecked")
    public static void setOperationContext(Object operationContext) {
        THREADLOCAL.set(operationContext);
    }
}