[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jboss-cvs-commits
Subject:    [jboss-cvs] jboss-aop/src/main/org/jboss/aop/joinpoint MethodInvocation.java
From:       Bill Burke <patriot1burke () users ! sourceforge ! net>
Date:       2004-01-30 22:36:17
Message-ID: E1AmhFJ-0007rh-0D () sc8-pr-cvs1 ! sourceforge ! net
[Download RAW message or body]

  User: patriot1burke
  Date: 04/01/30 14:36:16

  Modified:    src/main/org/jboss/aop/joinpoint MethodInvocation.java
  Log:
  simplified bytecode manipulation
  - removed the extra method created by javassist so that there is now only one extra
  method generated per intercepted method
  
  Added advisable only optimization for fields and constructors so that there is
  less overhead if there are no interceptors.
  
  Revision  Changes    Path
  1.2       +2 -15     \
jboss-aop/src/main/org/jboss/aop/joinpoint/MethodInvocation.java  
  Index: MethodInvocation.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-aop/src/main/org/jboss/aop/joinpoint/MethodInvocation.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- MethodInvocation.java	30 Jan 2004 16:46:09 -0000	1.1
  +++ MethodInvocation.java	30 Jan 2004 22:36:16 -0000	1.2
  @@ -13,6 +13,7 @@
   import org.jboss.aop.metadata.SimpleMetaData;
   
   import java.lang.reflect.Method;
  +import java.util.Arrays;
   
   /**
    * This is a helper wrapper class for an Invocation object.
  @@ -20,7 +21,7 @@
    * an AOP method invocation.
    *
    * @author <a href="mailto:bill@jboss.org">Bill Burke</a>
  - * @version $Revision: 1.1 $
  + * @version $Revision: 1.2 $
    */
   public class MethodInvocation extends Invocation
   {
  @@ -32,18 +33,4 @@
      {
         super(InvocationType.METHOD, interceptors);
      }
  -
  -   public MethodInvocation(org.jboss.aop.advice.Interceptor[] interceptors, \
                org.jboss.aop.metadata.SimpleMetaData meta)
  -   {
  -      super(InvocationType.METHOD, interceptors, meta);
  -   }
  -
  -   public MethodInvocation(MethodInvocation invocation)
  -   {
  -      super(invocation);
  -      arguments = invocation.arguments;
  -      method = invocation.method;
  -      methodHash = invocation.methodHash;
  -   }
  -
   }
  
  
  


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
jboss-cvs-commits mailing list
jboss-cvs-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-cvs-commits


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic