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

Gavin King gavin.king at jboss.com
Mon Jun 18 00:54:10 EDT 2007


  User: gavin   
  Date: 07/06/18 00:54:10

  Modified:    src/main/org/jboss/seam  Component.java
  Log:
  deprecated ifOutcome() stuffs
  removed @Rollback
  implemented JBSEAM-1031
  
  Revision  Changes    Path
  1.255     +1 -5      jboss-seam/src/main/org/jboss/seam/Component.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: Component.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/Component.java,v
  retrieving revision 1.254
  retrieving revision 1.255
  diff -u -b -r1.254 -r1.255
  --- Component.java	14 Jun 2007 05:40:02 -0000	1.254
  +++ Component.java	18 Jun 2007 04:54:10 -0000	1.255
  @@ -72,7 +72,6 @@
   import org.jboss.seam.annotations.Out;
   import org.jboss.seam.annotations.RaiseEvent;
   import org.jboss.seam.annotations.RequestParameter;
  -import org.jboss.seam.annotations.Rollback;
   import org.jboss.seam.annotations.Scope;
   import org.jboss.seam.annotations.StartTask;
   import org.jboss.seam.annotations.Startup;
  @@ -928,10 +927,7 @@
         {
            addInterceptor( new Interceptor( new ValidationInterceptor(), this ) );
         }
  -      if ( getType()==JAVA_BEAN || beanClassHasAnnotation(Rollback.class) )
  -      {
            addInterceptor( new Interceptor( new RollbackInterceptor(), this ) );
  -      }
         if ( getType()==JAVA_BEAN && beanClassHasAnnotation(Transactional.class))
         {
            addInterceptor( new Interceptor( new TransactionInterceptor(), this ) );
  
  
  



More information about the jboss-cvs-commits mailing list