From 7dcdf6a6f4bc3ddbc02cb261150125be30667b24 Mon Sep 17 00:00:00 2001 From: Keith Donald Date: Thu, 9 Aug 2007 14:42:50 +0000 Subject: [PATCH] javadoc --- .../support/persistence/HibernateFlowExecutionListener.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/spring-webflow/src/main/java/org/springframework/webflow/support/persistence/HibernateFlowExecutionListener.java b/spring-webflow/src/main/java/org/springframework/webflow/support/persistence/HibernateFlowExecutionListener.java index 8cb56164..8c05eb15 100644 --- a/spring-webflow/src/main/java/org/springframework/webflow/support/persistence/HibernateFlowExecutionListener.java +++ b/spring-webflow/src/main/java/org/springframework/webflow/support/persistence/HibernateFlowExecutionListener.java @@ -53,7 +53,7 @@ import org.springframework.webflow.execution.ViewSelection; *
  • Create a new persistence context when a new flow execution with the 'persistenceContext' attribute starts *
  • Load some objects into this persistence context *
  • Perform edits to those objects over a series of requests into the flow - *
  • On successful flow ccompletion, commit and flush those edits to the database, applying a version check if + *
  • On successful flow completion, commit and flush those edits to the database, applying a version check if * necessary. * * @@ -86,8 +86,9 @@ public class HibernateFlowExecutionListener extends FlowExecutionListenerAdapter private Interceptor entityInterceptor; /** - * Create a new Session-per-Conversation listener using giving Hibernate session factory. + * Create a new Hibernate Flow Execution Listener using giving Hibernate session factory and transaction manager. * @param sessionFactory the session factory to use + * @param transactionManager the transaction manager to drive transactions */ public HibernateFlowExecutionListener(SessionFactory sessionFactory, PlatformTransactionManager transactionManager) { this.sessionFactory = sessionFactory;