implement new interface method

This commit is contained in:
Andy Clement 2009-04-01 21:58:24 +00:00
parent 1289f1069c
commit 00018e511d
3 changed files with 18 additions and 0 deletions

View File

@ -17,6 +17,7 @@
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;
@ -50,4 +51,9 @@ public class BeanExpressionContextAccessor implements PropertyAccessor {
return new Class[] {BeanExpressionContext.class};
}
public TypeDescriptor getTypeDescriptor(EvaluationContext context,
Object target, String name) {
return null;
}
}

View File

@ -17,6 +17,7 @@
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;
@ -50,4 +51,9 @@ public class BeanFactoryAccessor implements PropertyAccessor {
return new Class[] {BeanFactory.class};
}
public TypeDescriptor getTypeDescriptor(EvaluationContext context,
Object target, String name) {
return null;
}
}

View File

@ -18,6 +18,7 @@ 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;
@ -51,5 +52,10 @@ public class MapAccessor implements PropertyAccessor {
public Class[] getSpecificTargetClasses() {
return new Class[] {Map.class};
}
public TypeDescriptor getTypeDescriptor(EvaluationContext context,
Object target, String name) {
return null;
}
}