design change - no longer surfacing typeDescriptor through property accessor. conversion done internally in property write() code

This commit is contained in:
Andy Clement
2009-04-01 23:27:49 +00:00
parent 00018e511d
commit 959cc95c3f
10 changed files with 16 additions and 84 deletions

View File

@@ -17,7 +17,6 @@
package org.springframework.context.expression;
import org.springframework.beans.factory.config.BeanExpressionContext;
import org.springframework.core.convert.TypeDescriptor;
import org.springframework.expression.AccessException;
import org.springframework.expression.EvaluationContext;
import org.springframework.expression.PropertyAccessor;
@@ -51,9 +50,4 @@ public class BeanExpressionContextAccessor implements PropertyAccessor {
return new Class[] {BeanExpressionContext.class};
}
public TypeDescriptor getTypeDescriptor(EvaluationContext context,
Object target, String name) {
return null;
}
}

View File

@@ -17,7 +17,6 @@
package org.springframework.context.expression;
import org.springframework.beans.factory.BeanFactory;
import org.springframework.core.convert.TypeDescriptor;
import org.springframework.expression.AccessException;
import org.springframework.expression.EvaluationContext;
import org.springframework.expression.PropertyAccessor;
@@ -51,9 +50,4 @@ public class BeanFactoryAccessor implements PropertyAccessor {
return new Class[] {BeanFactory.class};
}
public TypeDescriptor getTypeDescriptor(EvaluationContext context,
Object target, String name) {
return null;
}
}

View File

@@ -18,7 +18,6 @@ package org.springframework.context.expression;
import java.util.Map;
import org.springframework.core.convert.TypeDescriptor;
import org.springframework.expression.AccessException;
import org.springframework.expression.EvaluationContext;
import org.springframework.expression.PropertyAccessor;
@@ -53,9 +52,4 @@ public class MapAccessor implements PropertyAccessor {
return new Class[] {Map.class};
}
public TypeDescriptor getTypeDescriptor(EvaluationContext context,
Object target, String name) {
return null;
}
}