Skip to main content
summaryrefslogtreecommitdiffstats
blob: d51f31bf4c40dcd7a8280ca951a40e17f0d8fc61 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/*
 * Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) 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:
 *    Eike Stepper - initial API and implementation
 */
package org.eclipse.emf.cdo.transaction;

import org.eclipse.emf.cdo.common.commit.CDOCommitInfo;

/**
 * A call-back interface that is called by a {@link CDOTransaction transcation} before it is committed and after it has
 * been committed (with result info) or rolled back.
 *
 * @author Eike Stepper
 * @since 4.1
 */
public interface CDOTransactionHandler3 extends CDOTransactionHandler2
{
  /**
   * Called by a <code>CDOTransaction</code> <b>after</b> it is being committed. The implementor of this method is
   * <b>not</b> allowed to throw an unchecked exception.
   * <p>
   * Note that {@link CDOTransactionHandler2#committedTransaction(CDOTransaction, CDOCommitContext)
   * CDOTransactionHandler2.committedTransaction()} is not called.
   */
  public void committedTransaction(CDOTransaction transaction, CDOCommitContext commitContext, CDOCommitInfo result);
}

Back to the top