KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > portal > core > impl > tree > tm > TransactionListener


1 /*****************************************
2  * *
3  * JBoss Portal: The OpenSource Portal *
4  * *
5  * Distributable under LGPL license. *
6  * See terms of license at gnu.org. *
7  * *
8  *****************************************/

9 package org.jboss.portal.core.impl.tree.tm;
10
11 import javax.transaction.Transaction JavaDoc;
12
13 /**
14  * Listen for events that occurs after transaction terminates.
15  *
16  * @author <a HREF="mailto:julien@jboss.org">Julien Viet</a>
17  * @version $Revision: 1.1 $
18  */

19 public interface TransactionListener
20 {
21    /**
22     * After commit.
23     */

24    void afterCommit();
25
26    /**
27     * After rollback.
28     */

29    void afterRollack();
30 }
31
Popular Tags