User: fleury  
  Date: 00/06/02 02:36:44

  Modified:    src/main/org/jboss/ejb/plugins
                        StatefulSessionInstanceInterceptor.java
  Log:
  well,
  
  I removed the comments, since the stateful stuff seems to work just fine...
  
  that is good news ;-)
  
  Also we need to revisit the get() stuff in the entity
  
  Revision  Changes    Path
  1.2       +1 -5      
jboss/src/main/org/jboss/ejb/plugins/StatefulSessionInstanceInterceptor.java
  
  Index: StatefulSessionInstanceInterceptor.java
  ===================================================================
  RCS file: 
/products/cvs/ejboss/jboss/src/main/org/jboss/ejb/plugins/StatefulSessionInstanceInterceptor.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- StatefulSessionInstanceInterceptor.java   2000/06/02 09:20:49     1.1
  +++ StatefulSessionInstanceInterceptor.java   2000/06/02 09:36:43     1.2
  @@ -20,7 +20,7 @@
   *   @see <related>
   *   @author Rickard �berg ([EMAIL PROTECTED])
   *   @author <a href="mailto:[EMAIL PROTECTED]">Marc Fleury</a>
  -*   @version $Revision: 1.1 $
  +*   @version $Revision: 1.2 $
   */
   public class StatefulSessionInstanceInterceptor
   extends AbstractInterceptor
  @@ -53,13 +53,11 @@
                        // MF Praise: hey for once the comment is good rickard ;-0
                        if (ctx.getId() == null)
                        {
  -                             System.out.println("STRANGE I DON'T SEE THE ID");
                                // Create did not associate an ID with the ctx
                                // There is nothing to do just let the garbage 
collector do its work
                        
                        } else
                        {
  -                             System.out.println("We will releaase the 
context..."+ctx.getId()+"  look at the cache");
                                // Create was called succesfully we go to the cache
                                
((StatefulSessionContainer)getContainer()).getInstanceCache().release(ctx);
                        }
  @@ -70,10 +68,8 @@
        throws Exception
        {
                // Get context
  -             System.out.println("I do kaeads;lfkj;salfkj" + id);
                ctx = 
((StatefulSessionContainer)getContainer()).getInstanceCache().get(id);
                
  -             System.out.println("D:LSFkj");
                try
                {
                        // Invoke through interceptors
  
  
  

Reply via email to