org.eclipse.dirigible.commons.api.context.ThreadContextFacade Maven / Gradle / Ivy
/*
* Copyright (c) 2017 SAP and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
* Contributors:
* SAP - initial API and implementation
*/
package org.eclipse.dirigible.commons.api.context;
import java.util.HashMap;
import java.util.Map;
import java.util.concurrent.atomic.AtomicLong;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
* Scripting context facade is the centralized place where the different scripting facade providers
* can register the request (sync) scoped objects.
*/
public class ThreadContextFacade {
private static final Logger logger = LoggerFactory.getLogger(ThreadContextFacade.class);
private static final ThreadLocal
© 2015 - 2025 Weber Informatics LLC | Privacy Policy