User: slaboure
  Date: 01/12/31 07:13:45

  Modified:    src/main/org/jboss/ejb/plugins
                        CMPClusteredInMemoryPersistenceManager.java
  Log:
  Used the new DS interface with the optional (a-)synchronous set/remove flag
  
  Revision  Changes    Path
  1.2       +2 -2      
jbossmx/src/main/org/jboss/ejb/plugins/CMPClusteredInMemoryPersistenceManager.java
  
  Index: CMPClusteredInMemoryPersistenceManager.java
  ===================================================================
  RCS file: 
/cvsroot/jboss/jbossmx/src/main/org/jboss/ejb/plugins/CMPClusteredInMemoryPersistenceManager.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- CMPClusteredInMemoryPersistenceManager.java       2001/12/29 16:21:32     1.1
  +++ CMPClusteredInMemoryPersistenceManager.java       2001/12/31 15:13:45     1.2
  @@ -30,7 +30,7 @@
    * @see org.jboss.ha.framework.interfaces.DistributedState
    *
    * @author  <a href="mailto:[EMAIL PROTECTED]";>Sacha Labourey</a>.
  - * @version $Revision: 1.1 $
  + * @version $Revision: 1.2 $
    *
    * <p><b>Revisions:</b>
    *
  @@ -434,7 +434,7 @@
      {
         try
         {
  -      if (this.ds.remove (this.DS_CATEGORY, ctx.getId ().toString ()) == null)
  +      if (this.ds.remove (this.DS_CATEGORY, ctx.getId ().toString (), false) == 
null)
            throw new javax.ejb.RemoveException ("Could not remove bean:" +
            ctx.getId ());
         }
  @@ -466,7 +466,7 @@
            
            out.close ();
            
  -         this.ds.set (this.DS_CATEGORY, id.toString (), baos.toByteArray ());
  +         this.ds.set (this.DS_CATEGORY, id.toString (), baos.toByteArray (), false);
            
         } catch (Exception e)
         {
  
  
  

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to