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

Gavin King gavin.king at jboss.com
Mon Jun 25 11:40:19 EDT 2007


  User: gavin   
  Date: 07/06/25 11:40:19

  Modified:    src/main/org/jboss/seam/interceptors 
                        MethodContextInterceptor.java
  Log:
  what the hell, throw in params as well
  
  Revision  Changes    Path
  1.8       +2 -0      jboss-seam/src/main/org/jboss/seam/interceptors/MethodContextInterceptor.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: MethodContextInterceptor.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/interceptors/MethodContextInterceptor.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -b -r1.7 -r1.8
  --- MethodContextInterceptor.java	25 Jun 2007 05:54:36 -0000	1.7
  +++ MethodContextInterceptor.java	25 Jun 2007 15:40:19 -0000	1.8
  @@ -28,12 +28,14 @@
         String name = comp.getName();
         Object target = ctx.getTarget();
         Method method = ctx.getMethod();
  +      Object[] parameters = ctx.getParameters();
         Context outerMethodContext = Lifecycle.beginMethod();
         try
         {
            Contexts.getMethodContext().set(name, target);
            Contexts.getMethodContext().set("org.jboss.seam.this", target);
            Contexts.getMethodContext().set("org.jboss.seam.method", method);
  +         Contexts.getMethodContext().set("org.jboss.seam.parameters", parameters);
            Contexts.getMethodContext().set("org.jboss.seam.component", comp);
            return ctx.proceed();
         }
  
  
  



More information about the jboss-cvs-commits mailing list