implement new interface method
This commit is contained in:
parent
1289f1069c
commit
00018e511d
|
|
@ -17,6 +17,7 @@
|
||||||
package org.springframework.context.expression;
|
package org.springframework.context.expression;
|
||||||
|
|
||||||
import org.springframework.beans.factory.config.BeanExpressionContext;
|
import org.springframework.beans.factory.config.BeanExpressionContext;
|
||||||
|
import org.springframework.core.convert.TypeDescriptor;
|
||||||
import org.springframework.expression.AccessException;
|
import org.springframework.expression.AccessException;
|
||||||
import org.springframework.expression.EvaluationContext;
|
import org.springframework.expression.EvaluationContext;
|
||||||
import org.springframework.expression.PropertyAccessor;
|
import org.springframework.expression.PropertyAccessor;
|
||||||
|
|
@ -50,4 +51,9 @@ public class BeanExpressionContextAccessor implements PropertyAccessor {
|
||||||
return new Class[] {BeanExpressionContext.class};
|
return new Class[] {BeanExpressionContext.class};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public TypeDescriptor getTypeDescriptor(EvaluationContext context,
|
||||||
|
Object target, String name) {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
@ -17,6 +17,7 @@
|
||||||
package org.springframework.context.expression;
|
package org.springframework.context.expression;
|
||||||
|
|
||||||
import org.springframework.beans.factory.BeanFactory;
|
import org.springframework.beans.factory.BeanFactory;
|
||||||
|
import org.springframework.core.convert.TypeDescriptor;
|
||||||
import org.springframework.expression.AccessException;
|
import org.springframework.expression.AccessException;
|
||||||
import org.springframework.expression.EvaluationContext;
|
import org.springframework.expression.EvaluationContext;
|
||||||
import org.springframework.expression.PropertyAccessor;
|
import org.springframework.expression.PropertyAccessor;
|
||||||
|
|
@ -50,4 +51,9 @@ public class BeanFactoryAccessor implements PropertyAccessor {
|
||||||
return new Class[] {BeanFactory.class};
|
return new Class[] {BeanFactory.class};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public TypeDescriptor getTypeDescriptor(EvaluationContext context,
|
||||||
|
Object target, String name) {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -18,6 +18,7 @@ package org.springframework.context.expression;
|
||||||
|
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
|
import org.springframework.core.convert.TypeDescriptor;
|
||||||
import org.springframework.expression.AccessException;
|
import org.springframework.expression.AccessException;
|
||||||
import org.springframework.expression.EvaluationContext;
|
import org.springframework.expression.EvaluationContext;
|
||||||
import org.springframework.expression.PropertyAccessor;
|
import org.springframework.expression.PropertyAccessor;
|
||||||
|
|
@ -52,4 +53,9 @@ public class MapAccessor implements PropertyAccessor {
|
||||||
return new Class[] {Map.class};
|
return new Class[] {Map.class};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public TypeDescriptor getTypeDescriptor(EvaluationContext context,
|
||||||
|
Object target, String name) {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue