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

Gavin King gavin.king at jboss.com
Wed Jun 20 13:45:55 EDT 2007


  User: gavin   
  Date: 07/06/20 13:45:55

  Modified:    src/main/org/jboss/seam/drools   ManagedWorkingMemory.java
                        RuleBase.java
  Log:
  refactored interception annotations
  
  Revision  Changes    Path
  1.12      +2 -4      jboss-seam/src/main/org/jboss/seam/drools/ManagedWorkingMemory.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: ManagedWorkingMemory.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/drools/ManagedWorkingMemory.java,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -b -r1.11 -r1.12
  --- ManagedWorkingMemory.java	10 May 2007 02:04:32 -0000	1.11
  +++ ManagedWorkingMemory.java	20 Jun 2007 17:45:55 -0000	1.12
  @@ -1,7 +1,5 @@
   package org.jboss.seam.drools;
   
  -import static org.jboss.seam.InterceptionType.NEVER;
  -
   import java.io.Serializable;
   
   import org.drools.RuleBase;
  @@ -9,9 +7,9 @@
   import org.jboss.seam.Component;
   import org.jboss.seam.ScopeType;
   import org.jboss.seam.annotations.Destroy;
  -import org.jboss.seam.annotations.Intercept;
   import org.jboss.seam.annotations.Scope;
   import org.jboss.seam.annotations.Unwrap;
  +import org.jboss.seam.annotations.intercept.BypassInterceptors;
   import org.jboss.seam.core.Mutable;
   import org.jboss.seam.core.Expressions.ValueExpression;
   
  @@ -22,7 +20,7 @@
    *
    */
   @Scope(ScopeType.CONVERSATION)
  - at Intercept(NEVER)
  + at BypassInterceptors
   public class ManagedWorkingMemory implements Mutable, Serializable
   {
      private static final long serialVersionUID = -1746942080571374743L;
  
  
  
  1.8       +2 -4      jboss-seam/src/main/org/jboss/seam/drools/RuleBase.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: RuleBase.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/drools/RuleBase.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -b -r1.7 -r1.8
  --- RuleBase.java	31 Jan 2007 14:42:52 -0000	1.7
  +++ RuleBase.java	20 Jun 2007 17:45:55 -0000	1.8
  @@ -1,7 +1,5 @@
   package org.jboss.seam.drools;
   
  -import static org.jboss.seam.InterceptionType.NEVER;
  -
   import java.io.InputStream;
   import java.io.InputStreamReader;
   import java.io.Reader;
  @@ -13,9 +11,9 @@
   import org.drools.lang.descr.PackageDescr;
   import org.jboss.seam.ScopeType;
   import org.jboss.seam.annotations.Create;
  -import org.jboss.seam.annotations.Intercept;
   import org.jboss.seam.annotations.Scope;
   import org.jboss.seam.annotations.Unwrap;
  +import org.jboss.seam.annotations.intercept.BypassInterceptors;
   import org.jboss.seam.util.Resources;
   
   /**
  @@ -25,7 +23,7 @@
    *
    */
   @Scope(ScopeType.APPLICATION)
  - at Intercept(NEVER)
  + at BypassInterceptors
   public class RuleBase
   {
      private String[] ruleFiles;
  
  
  



More information about the jboss-cvs-commits mailing list