org.seedstack.business.internal.ContextLink Maven / Gradle / Ivy
/**
* Copyright (c) 2013-2015 by The SeedStack authors. All rights reserved.
*
* This file is part of SeedStack, An enterprise-oriented full development stack.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package org.seedstack.business.internal;
import org.seedstack.business.api.Event;
import org.seedstack.business.api.EventHandler;
import java.util.HashMap;
import java.util.Map;
/**
* This class is a shared context between the fixtures and the interceptor.
* It registers the handlers called with their corresponding event.
*
* @author [email protected]
* Date: 10/06/2014
*/
class ContextLink {
static final ThreadLocal