| /** |
| * This file was copied and re-packaged automatically by |
| * org.eclipse.ocl.examples.build.GenerateAutoCSModels.mwe2 |
| * from |
| * ..\..\..\org.eclipse.qvtd\plugins\org.eclipse.qvtd.runtime\src\org\eclipse\qvtd\runtime\evaluation\InvocationManager.java |
| * |
| * Do not edit this file. |
| */ |
| /******************************************************************************* |
| * Copyright (c) 2013, 2015 Willink Transformations 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: |
| * E.D.Willink - Initial API and implementation |
| *******************************************************************************/ |
| package org.eclipse.ocl.pivot.evaluation.tx; |
| |
| import org.eclipse.jdt.annotation.NonNull; |
| |
| /** |
| * An InvocationManager supervises the invocations of mappings, inhibiting re-executions and |
| * maintaining a blocked list of invocations that have failed and a waiting list of invocations |
| * ready to be reattempted. |
| * |
| * @since 1.1 |
| * @noimplement clients should derive from AbstractInvocationManager |
| */ |
| public interface InvocationManager extends ExecutionVisitable |
| { |
| boolean flush() throws ReflectiveOperationException; |
| void invoke(@NonNull Invocation invocation, boolean doFlush) throws ReflectiveOperationException; |
| void unblock(@NonNull Invocation invocation); |
| } |