[jboss-cvs] jboss-seam/src/ioc/org/jboss/seam/ioc/spring ...

Gavin King gavin.king at jboss.com
Tue May 1 12:43:50 EDT 2007


  User: gavin   
  Date: 07/05/01 12:43:50

  Modified:    src/ioc/org/jboss/seam/ioc/spring  SeamTargetSource.java
  Log:
  migrate to unified EL everywhere
  
  Revision  Changes    Path
  1.8       +6 -6      jboss-seam/src/ioc/org/jboss/seam/ioc/spring/SeamTargetSource.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: SeamTargetSource.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/ioc/org/jboss/seam/ioc/spring/SeamTargetSource.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -b -r1.7 -r1.8
  --- SeamTargetSource.java	20 Mar 2007 16:11:36 -0000	1.7
  +++ SeamTargetSource.java	1 May 2007 16:43:50 -0000	1.8
  @@ -13,7 +13,7 @@
   import org.jboss.seam.contexts.Lifecycle;
   import org.jboss.seam.core.Expressions;
   import org.jboss.seam.core.Mutable;
  -import org.jboss.seam.core.Expressions.ValueBinding;
  +import org.jboss.seam.core.Expressions.ValueExpression;
   import org.jboss.seam.intercept.Proxy;
   import org.springframework.aop.TargetSource;
   
  @@ -33,7 +33,7 @@
   
      private Boolean create;
   
  -   private ValueBinding valueBinding;
  +   private ValueExpression valueExpression;
   
      private Class type;
   
  @@ -64,7 +64,7 @@
   
         if (name.startsWith("#"))
         {
  -         this.valueBinding = Expressions.instance().createValueBinding(name);
  +         this.valueExpression = Expressions.instance().createValueExpression(name);
         }
      }
   
  @@ -75,9 +75,9 @@
       */
      public Object getTarget() throws Exception
      {
  -      if (valueBinding != null)
  +      if (valueExpression != null)
         {
  -         return valueBinding.getValue();
  +         return valueExpression.getValue();
         }
         else
         {
  @@ -153,7 +153,7 @@
       */
      public Component getComponent()
      {
  -      if (valueBinding != null)
  +      if (valueExpression != null)
         {
            return null;
         }
  
  
  



More information about the jboss-cvs-commits mailing list