User: oberg   
  Date: 00/10/25 01:32:37

  Modified:    src/main/org/jboss/ejb/plugins TxInterceptorCMT.java
  Log:
  Moved home and remote classes to subclasses of Container (preparation for EJB 2.0 
MessageDriven beans)
  Changed comp/env setup to use new JNP. "java:comp" is now component local instead of 
"java:/"!
  
  Revision  Changes    Path
  1.8       +5 -3      jboss/src/main/org/jboss/ejb/plugins/TxInterceptorCMT.java
  
  Index: TxInterceptorCMT.java
  ===================================================================
  RCS file: 
/products/cvs/ejboss/jboss/src/main/org/jboss/ejb/plugins/TxInterceptorCMT.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- TxInterceptorCMT.java     2000/10/20 03:11:43     1.7
  +++ TxInterceptorCMT.java     2000/10/25 08:32:36     1.8
  @@ -40,7 +40,7 @@
   *   @author Rickard �berg ([EMAIL PROTECTED])
   *   @author <a href="mailto:[EMAIL PROTECTED]">Marc Fleury</a>
   *   @author <a href="mailto:[EMAIL PROTECTED]">Sebastien Alborini</a>
  -*   @version $Revision: 1.7 $
  +*   @version $Revision: 1.8 $
   */
   public class TxInterceptorCMT
   extends AbstractInterceptor
  @@ -205,7 +205,7 @@
           Transaction newTransaction = null;
           
           //DEBUG       Logger.debug("Current transaction in MI is 
"+mi.getTransaction()); 
  -        //DEBUG       Logger.debug("Current method "+mi.getMethod().getName());     
      
  +        //DEBUG Logger.debug("Current method "+mi.getMethod());           
           byte transType = getTransactionMethod(mi.getMethod(), remoteInvocation);
           
           printMethod(mi.getMethod(), transType);
  @@ -471,7 +471,9 @@
           if(b != null) return b.byteValue();
               
           BeanMetaData bmd = container.getBeanMetaData();
  -        //DEBUG Logger.debug("Found metadata for bean '"+bmd.getEjbName()+"'"+" 
method is "+m.getName());
  +        
  +//DEBUG        Logger.debug("Found metadata for bean '"+bmd.getEjbName()+"'"+" 
method is "+m.getName());
  +        
           byte result = bmd.getMethodTransactionType(m.getName(), 
m.getParameterTypes(), remoteInvocation);
           
           // provide default if method is not found in descriptor 
  
  
  

Reply via email to