[jboss-cvs] jboss-seam/src/main/org/jboss/seam/annotations ...

Gavin King gavin.king at jboss.com
Wed Jul 12 20:58:55 EDT 2006


  User: gavin   
  Date: 06/07/12 20:58:55

  Modified:    src/main/org/jboss/seam/annotations     Begin.java
                        BeginTask.java StartTask.java
  Added:       src/main/org/jboss/seam/annotations     FlushModeType.java
  Log:
  control flushing from @Begin
  
  Revision  Changes    Path
  1.8       +6 -1      jboss-seam/src/main/org/jboss/seam/annotations/Begin.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: Begin.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/annotations/Begin.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -b -r1.7 -r1.8
  --- Begin.java	18 Jun 2006 00:19:12 -0000	1.7
  +++ Begin.java	13 Jul 2006 00:58:55 -0000	1.8
  @@ -1,4 +1,4 @@
  -//$Id: Begin.java,v 1.7 2006/06/18 00:19:12 gavin Exp $
  +//$Id: Begin.java,v 1.8 2006/07/13 00:58:55 gavin Exp $
   package org.jboss.seam.annotations;
   
   import static java.lang.annotation.ElementType.METHOD;
  @@ -49,4 +49,9 @@
       * will redirect to that conversation.
       */
      String id() default "";
  +   /**
  +    * Set the FlushMode for any EntityManager used in
  +    * this conversation.
  +    */
  +   FlushModeType flushMode() default FlushModeType.AUTO;
   }
  
  
  
  1.9       +5 -0      jboss-seam/src/main/org/jboss/seam/annotations/BeginTask.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: BeginTask.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/annotations/BeginTask.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -b -r1.8 -r1.9
  --- BeginTask.java	18 Jun 2006 00:19:12 -0000	1.8
  +++ BeginTask.java	13 Jul 2006 00:58:55 -0000	1.9
  @@ -46,4 +46,9 @@
       * the same id aready exists, Seam will redirect to that conversation.
       */
      String id() default "";
  +   /**
  +    * Set the FlushMode for any EntityManager used in
  +    * this conversation.
  +    */
  +   FlushModeType flushMode() default FlushModeType.AUTO;
   }
  
  
  
  1.17      +5 -0      jboss-seam/src/main/org/jboss/seam/annotations/StartTask.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: StartTask.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/annotations/StartTask.java,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -b -r1.16 -r1.17
  --- StartTask.java	18 Jun 2006 00:19:12 -0000	1.16
  +++ StartTask.java	13 Jul 2006 00:58:55 -0000	1.17
  @@ -49,4 +49,9 @@
       * the same id aready exists, Seam will redirect to that conversation.
       */
      String id() default "";
  +   /**
  +    * Set the FlushMode for any EntityManager used in
  +    * this conversation.
  +    */
  +   FlushModeType flushMode() default FlushModeType.AUTO;
   }
  
  
  
  1.1      date: 2006/07/13 00:58:55;  author: gavin;  state: Exp;jboss-seam/src/main/org/jboss/seam/annotations/FlushModeType.java
  
  Index: FlushModeType.java
  ===================================================================
  package org.jboss.seam.annotations;
  
  public enum FlushModeType
  {
     MANUAL,
     AUTO,
     COMMIT
  }
  
  
  



More information about the jboss-cvs-commits mailing list