You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2024/11/04 22:35:12 UTC
(commons-dbcp) 01/03: Javadoc
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-dbcp.git
commit fab4c7853af8b29d1840cec3ad657295e5dedcdb
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Mon Nov 4 17:30:02 2024 -0500
Javadoc
---
.../apache/commons/dbcp2/managed/TransactionContextListener.java | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/src/main/java/org/apache/commons/dbcp2/managed/TransactionContextListener.java b/src/main/java/org/apache/commons/dbcp2/managed/TransactionContextListener.java
index 4ebb7e71..cc1b34c1 100644
--- a/src/main/java/org/apache/commons/dbcp2/managed/TransactionContextListener.java
+++ b/src/main/java/org/apache/commons/dbcp2/managed/TransactionContextListener.java
@@ -22,13 +22,14 @@ package org.apache.commons.dbcp2.managed;
* @since 2.0
*/
public interface TransactionContextListener {
+
/**
- * Occurs after the transaction commits or rolls back.
+ * Called after a transaction commits or rolls back.
*
* @param transactionContext
- * the transaction context that completed
+ * the transaction context that completed.
* @param committed
- * true if the transaction committed; false otherwise
+ * true if the transaction committed; false otherwise.
*/
void afterCompletion(TransactionContext transactionContext, boolean committed);
}