Commit Graph

196 Commits

Author SHA1 Message Date
Andy Clement
5ca1f11ce2 SPR-6763: more methods on StandardEvaluationContext supporting add/remove from resolver/accessor strategies 2010-02-02 21:38:33 +00:00
Andy Clement
66f708392e SPR-6764: filtering strategy for SpEL method invocation 2010-02-02 19:38:44 +00:00
Andy Clement
644f3065b6 SPR-6610: don't wrap runtime exceptions thrown from methods invoked via an expression 2010-02-01 20:13:08 +00:00
Andy Clement
4c35697c79 SPR-6760: method called twice if exits via exception in a 'normal' case 2010-02-01 19:53:34 +00:00
Juergen Hoeller
2ec39f5000 TypedValue.NULL_TYPED_VALUE -> TypedValue.NULL 2009-12-15 20:19:24 +00:00
Keith Donald
2fef141a00 TypeDescriptor.valueOf usage in favor of constants; TypedValue usage simplification 2009-12-15 19:41:52 +00:00
Juergen Hoeller
f52986ea15 introduced TypeDescriptor.OBJECT and TypeDescriptor.STRING 2009-12-15 10:21:16 +00:00
Juergen Hoeller
086aeb0aac rearranged spel subpackages in order to avoid package dependency cycle; introduced SpelParserConfiguration object to replace bit flags 2009-12-15 02:03:16 +00:00
Andy Clement
33a7bbb485 SPR-6525: avoid need to use #root for method parameter references 2009-12-06 23:21:07 +00:00
Juergen Hoeller
cc0bd730eb polishing 2009-11-27 01:34:56 +00:00
Keith Donald
692b1ef636 found hotspot; added ConverisonServiceFactoryBean 2009-11-20 14:43:12 +00:00
Keith Donald
7b561c76fe default conversion service instance caching and tests 2009-11-19 15:22:44 +00:00
Keith Donald
d85dc01e28 moved generic converter to spi; added entity converter; removed various service impls in favor of service factory 2009-11-19 09:10:51 +00:00
Keith Donald
3361de3875 SPR-6278 2009-11-12 21:18:17 +00:00
Andy Clement
61a8fa0ebd change PlaceOfBirth toString() so round tripping from String > new PlaceOfBirth(String) > String works ok 2009-11-12 20:56:21 +00:00
Keith Donald
70fe75384d fixed failing tests due to generic object to object converter fallback being over eager 2009-11-12 06:57:51 +00:00
Keith Donald
791832789d polish 2009-11-04 17:38:17 +00:00
Mark Fisher
53eb612a68 SPR-6059 Avoiding NPE for OR operator. If the value is null instead of a valid boolean or Boolean, it will now trigger an EvaluationException. 2009-10-28 23:14:29 +00:00
Mark Fisher
f4460dcbf7 SPR-6059 Avoiding NPE for unary-not and ternary operators. If the value is null instead of a valid boolean or Boolean, it will now trigger an EvaluationException. 2009-10-28 21:57:09 +00:00
Mark Fisher
3346752cfd INT-6051 SpEL selection and projection may now be applied to arrays. 2009-10-28 03:42:36 +00:00
Mark Fisher
776edbcae3 SPR-6051 avoiding NPE in TypedValue.toString() 2009-10-27 23:59:46 +00:00
Juergen Hoeller
a7f0d50643 fixed ParseException constructor calls (SPR-6239) 2009-10-19 12:59:17 +00:00
Andy Clement
c9057fd1da SPR-6230: SpEL improvements 2009-10-13 18:11:34 +00:00
Keith Donald
e7c8f1ef8b SPR-6179, additional mapper test cases 2009-10-04 04:13:27 +00:00
Sam Brannen
06872dd465 Fixed minor typo. 2009-10-03 22:18:50 +00:00
Keith Donald
fe525f5100 polish 2009-09-21 05:51:10 +00:00
Keith Donald
d3b43ebccb refined generic converter concept 2009-09-18 19:57:59 +00:00
Juergen Hoeller
7123e4f81e expression parser uses context's ConversionService by default 2009-09-07 18:37:59 +00:00
Andy Clement
855eac549e SpelExpressionParser made threadsafe 2009-09-03 20:09:11 +00:00
Juergen Hoeller
2d7c2d6fff revised wrapper type handling 2009-08-09 06:36:16 +00:00
Juergen Hoeller
dd67900109 revised core conversion package for BeanWrapper/BeanFactory integration 2009-08-09 00:52:41 +00:00
Keith Donald
6206e5f11f ignore failing test for now 2009-07-12 18:32:26 +00:00
Andy Clement
84bdd1ab8e better method name 2009-07-10 19:44:40 +00:00
Andy Clement
3788a84b8e for Keith and his binder: fault in support for maps (if attempt made to reference into null map) and for general objects, e.g. foo.bar if foo was null, attempt to dynamically build foo. 2009-07-10 19:43:50 +00:00
Andy Clement
e3e34b04d4 for Keith and his binder: fault in support for maps (if attempt made to reference into null map) and for general objects, e.g. foo.bar if foo was null, attempt to dynamically build foo. 2009-07-10 19:43:37 +00:00
Andy Clement
a2bce8c2a8 SPR-5905: support for inner type references in type references 'T(com.foo.A$B)' or in ctor calls 'new com.foo.A$B()' 2009-07-07 17:24:58 +00:00
Andy Clement
dbdac9fa31 SPR-5847: require quotes for dotted map key names, eg. map['a.b.c'] 2009-07-07 16:32:56 +00:00
Andy Clement
a4b7ce168c SPR-5804: problems with map access if it is the root object; SPR-5847: alternative map referencing strategies: a.b == a[b] == a['b'] 2009-07-07 16:08:10 +00:00
Andy Clement
eb69e7574b SPR-5899: Invoking methods or constructors passing null (including varargs support) 2009-07-06 19:21:26 +00:00
Andy Clement
ea2580af68 SPR-5518: textual alternatives for operators (eq, lt, le, gt, ge, ne, div, mod, not) - removes messy escaping for expressions declared in XML. 2009-07-06 18:53:48 +00:00
Andy Clement
7e05c928dd support for concatenation with String via operator '+' - for Ramnivas. 2009-06-30 19:19:07 +00:00
Keith Donald
d0079c6058 el-based message resolution; expected failure right now 2009-06-13 17:18:12 +00:00
Andy Clement
69e48828cc change from SpelMessages to SpelMessage. Changed exception getter to getMessageCode() from getMessageUnformatted 2009-06-11 16:17:44 +00:00
Andy Clement
12923f196a new feature for binder - automatically create lists and entries in lists upon referencing nulls 2009-06-02 16:42:43 +00:00
Andy Clement
1fc8abade7 updates for Binding code - able to retrieve the type descriptor for a property and ask detailed questions (eg getAnnotations()) 2009-06-02 00:25:59 +00:00
Andy Clement
88e32a3cfe test coverage. now > 95% 2009-05-27 19:59:32 +00:00
Andy Clement
233c84e0b9 test coverage 2009-05-27 19:37:17 +00:00
Andy Clement
1746cc76d1 findbugs issue addressed 2009-05-27 19:22:53 +00:00
Andy Clement
e5fea54aea fix for ternary or elvis using a full expression for their result components. parser polishing 2009-05-27 19:16:45 +00:00
Andy Clement
886739f1d8 Hand written SpEL parser. Removed antlr dependency. tests upgraded to JUnit4 - 93% coverage. 2009-05-27 04:20:18 +00:00