|
|||||||||||||||||||
Source file | Conditionals | Statements | Methods | TOTAL | |||||||||||||||
TransactionCompletedEvent.java | - | - | - | - |
|
1 | package org.jboss.cache.notifications.event; | |
2 | ||
3 | /** | |
4 | * This event is passed in to any method annotated with {@link org.jboss.cache.notifications.annotation.TransactionCompleted}. | |
5 | * <p/> | |
6 | * Note that this event is only delivered <i>after the fact</i>, i.e., you will never see an instance of this event | |
7 | * with {@link #isPre()} being set to <tt>true</tt>. | |
8 | * | |
9 | * @author <a href="mailto:manik@jboss.org">Manik Surtani</a> | |
10 | * @since 2.0.0 | |
11 | */ | |
12 | public interface TransactionCompletedEvent extends TransactionalEvent | |
13 | { | |
14 | /** | |
15 | * @return if <tt>true</tt>, the transaction completed by committing successfully. If <tt>false</tt>, the transaction | |
16 | * completed with a rollback. | |
17 | */ | |
18 | boolean isSuccessful(); | |
19 | } |
|