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

Gavin King gavin.king at jboss.com
Tue Oct 10 15:37:38 EDT 2006


  User: gavin   
  Date: 06/10/10 15:37:38

  Modified:    src/main/org/jboss/seam/drools  ManagedWorkingMemory.java
  Log:
  removed @Mutable, use Mutable interface instead
  
  Revision  Changes    Path
  1.5       +7 -3      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.4
  retrieving revision 1.5
  diff -u -b -r1.4 -r1.5
  --- ManagedWorkingMemory.java	8 Oct 2006 19:12:35 -0000	1.4
  +++ ManagedWorkingMemory.java	10 Oct 2006 19:37:38 -0000	1.5
  @@ -8,9 +8,9 @@
   import org.jboss.seam.ScopeType;
   import org.jboss.seam.annotations.Destroy;
   import org.jboss.seam.annotations.Intercept;
  -import org.jboss.seam.annotations.Mutable;
   import org.jboss.seam.annotations.Scope;
   import org.jboss.seam.annotations.Unwrap;
  +import org.jboss.seam.core.Mutable;
   
   /**
    * A conversation-scoped Drools WorkingMemory for a named RuleBase
  @@ -20,14 +20,18 @@
    */
   @Scope(ScopeType.CONVERSATION)
   @Intercept(NEVER)
  - at Mutable
  -public class ManagedWorkingMemory
  +public class ManagedWorkingMemory implements Mutable
   {
      
      private String ruleBaseName;
      private WorkingMemory workingMemory;
      private RuleBase ruleBase;
   
  +   public boolean clearDirty()
  +   {
  +      return true;
  +   }
  +
      /**
       * The name of a Seam context variable holding an
       * instance of org.drools.RuleBase
  
  
  



More information about the jboss-cvs-commits mailing list