Commit Graph

345 Commits

Author SHA1 Message Date
Keith Donald 3f191e8d9d alerts static factory
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1441 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-26 14:47:18 +00:00
Keith Donald 5ab941507a polish
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1440 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-26 12:47:52 +00:00
Keith Donald c9b11ede9e polish
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1439 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-26 05:28:25 +00:00
Keith Donald df4f6290c8 javadoc
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1438 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-26 05:16:59 +00:00
Keith Donald 01fdaa1693 bind and validate lifecycle rename
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1437 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-26 05:02:00 +00:00
Keith Donald 0aafa46932 set locale
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1436 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-26 04:52:50 +00:00
Keith Donald 7e99af789a polish
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1432 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-25 20:28:53 +00:00
Keith Donald 7e386d4215 polish
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1431 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-25 20:27:39 +00:00
Keith Donald 73d9e9d6b5 Added binder factory; simplified public binder api
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1430 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-25 20:26:22 +00:00
Keith Donald b7a6e9b526 polish
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1429 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-25 19:18:02 +00:00
Keith Donald 74756ef4ae copyright
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1428 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-25 18:26:07 +00:00
Keith Donald 209edbdb5f message builder
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1427 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-25 18:23:07 +00:00
Keith Donald 700aa802c0 removed user values in favor of simple map after code review
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1421 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-25 03:17:04 +00:00
Keith Donald 1535d67b3c naming improvements since design review
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1419 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-24 22:24:15 +00:00
Keith Donald d22697c41b polish
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1418 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-24 22:09:46 +00:00
Keith Donald c28ee6f262 @Model and @Bound annotations for configuring Binder instance from annotation model beans
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1412 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-23 17:53:16 +00:00
Keith Donald 59c11fe7be factored out alert from message; made binding responsible for alert generation
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1397 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-18 18:09:01 +00:00
Sam Brannen 6469d99641 Disabled testExecuteLifecycleBindingErrors() until it passes consistently in the Ant build on Mac OS X.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1396 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-18 12:14:46 +00:00
Mark Fisher 12b2418623 The 'task' sub-element of the 'scheduled-tasks' element is now 'scheduled' to be consistent with the @Scheduled annotation (and to avoid task:task).
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1394 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-17 19:39:51 +00:00
Keith Donald caecdb26b0 web bind and lifecycle tests; polish
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1393 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-17 15:56:07 +00:00
Keith Donald 86abbc2b59 message argument accessor - thanks andy
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1392 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-17 03:12:44 +00:00
Keith Donald ab84ae957e polish
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1383 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-13 18:38:04 +00:00
Keith Donald d109a8d565 polish
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1382 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-13 18:31:32 +00:00
Keith Donald c598654d9c since 3.0; lifecycle pkg
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1381 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-13 18:26:48 +00:00
Keith Donald 822ccaffbb since 3.0
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1380 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-13 18:25:59 +00:00
Keith Donald fe5d2c3cab javadoc
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1379 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-13 18:02:40 +00:00
Keith Donald 935d9abe2f ignore failing test for now - andy c to investigate next wk
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1378 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-13 17:23:40 +00:00
Keith Donald 9994e235b6 ignore failing test for now - andy c to look at next wk
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1377 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-13 17:20:49 +00:00
Keith Donald 9bc48d08a1 el-based message resolution; expected failure right now
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1376 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-13 17:18:12 +00:00
Keith Donald 59a184bc01 intermediate commit - wip bind and validate lifecycle
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1375 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-13 12:45:25 +00:00
Sam Brannen 5f53a420e3 Moving Validator and ValidateResults from src/test to src/main so that the build is no longer broken.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1368 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-12 12:18:34 +00:00
Sam Brannen 8d628c5df2 JavaDoc typo
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1365 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-12 09:29:24 +00:00
Keith Donald fa848d8c2c successes/failures impl
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1362 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-11 21:00:19 +00:00
Keith Donald 7aaf5065b9 polish
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1361 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-11 20:56:47 +00:00
Keith Donald dfef8ecd06 bind and validate lifecycle initial commit
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1359 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-11 20:29:01 +00:00
Keith Donald 997d7ef443 formatter registry
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1358 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-11 19:03:43 +00:00
Andy Clement 85b193a3a2 change from string compare to code compare for Spel exceptions
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1356 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-11 16:18:13 +00:00
Keith Donald a5af9bfa25 annotation factory for currency format is overkill
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1354 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-11 14:21:19 +00:00
Keith Donald 57976b8928 javadoc
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1353 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-11 14:15:52 +00:00
Keith Donald 1e33a96b4c Removed model parameterized type after review with juergen
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1348 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-10 20:44:35 +00:00
Keith Donald bae51386e8 added user values holder after review with juergen
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1347 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-10 20:36:43 +00:00
Keith Donald 514940d6c5 remove unused field
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1346 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-10 14:42:42 +00:00
Keith Donald 053300dabd added web binder
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1345 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-10 14:38:59 +00:00
Keith Donald 50c5a25c6a polish
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1344 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-10 13:43:22 +00:00
Keith Donald 12c5d26a6b createUserValues factory method to Binder
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1343 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-10 13:38:24 +00:00
Keith Donald d2c3e738c1 polish
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1336 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-09 20:14:17 +00:00
Keith Donald 57795c69bf separated interface from impl
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1335 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-09 19:27:13 +00:00
Keith Donald 6c894fcceb polish
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1334 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-09 19:02:44 +00:00
Keith Donald fba8342b47 polish
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1333 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-09 18:59:44 +00:00
Keith Donald 70017cc21e todo
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1332 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-09 15:30:40 +00:00
Keith Donald 97c799581d binding result tracking
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1331 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-09 15:21:34 +00:00
Keith Donald d1f640e794 polish
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1329 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-08 20:42:09 +00:00
Juergen Hoeller 19b8c28108 @ManagedResource is marked as inherited now, for generic management-aware base classes (SPR-3500)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1326 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-08 15:38:55 +00:00
Keith Donald 82336856e4 javdoc
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1325 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-08 05:06:37 +00:00
Keith Donald ef147cfdd2 removed binding failures - not yet needed
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1324 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-08 04:28:36 +00:00
Keith Donald e4f4ade3f9 date subpackage
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1323 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-08 04:22:10 +00:00
Keith Donald b00118e0c9 javado polish
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1322 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-08 04:09:31 +00:00
Keith Donald f01fcebb2a Added surpress warning unchecked
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1321 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-07 21:24:33 +00:00
Keith Donald d8dba850f6 Added AnnotatioFormatterFactory allowing Formatters to be created from property @Annotation values; polish
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1320 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-07 21:22:37 +00:00
Keith Donald 5cc2243c5c UI message system initial commit; support for adding UI messages of different severities INFO, WARNING, ERROR, FATAL
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1319 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-06 19:13:27 +00:00
Christian Dupuis 0ffe2180f3 some updates to error reporting to let errors show up in STS
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1318 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-06 07:59:26 +00:00
Mark Fisher c069d45b3d The <task:annotation-driven/> element now registers the post-processor for @Scheduled in addition to the already existing @Async support. Both "scheduler" and "executor" attributes are available.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1317 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-06 02:11:39 +00:00
Mark Fisher ba3f010c96 removed @Override annotations from interface methods
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1316 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-06 02:02:18 +00:00
Mark Fisher 79d5127bb7 Initial commit of @Scheduled annotation and ScheduledAnnotationBeanPostProcessor.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1315 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-06 01:57:45 +00:00
Mark Fisher 84ed6543ae fixed NPE on latch in test
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1314 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-06 01:37:15 +00:00
Mark Fisher fc3f49ff40 closing context at end of test methods
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1313 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-06 01:25:10 +00:00
Mark Fisher f71c8c4141 Added tests for AsyncAnnotationBeanPostProcessor.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1312 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-06 01:15:05 +00:00
Mark Fisher e3866c8b73 Added tests for ExecutorBeanDefinitionParser.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1311 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-06 01:07:18 +00:00
Mark Fisher 39a3dead76 Added support for the 'executor' element within the 'task' namespace for creating a ThreadPoolTaskExecutor instance.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1310 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-05 01:18:53 +00:00
Juergen Hoeller 661c96a5ca prepared 3.0 versions of the remaining namespaces
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1306 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-03 10:29:17 +00:00
Juergen Hoeller efa6b14250 XML constructor-arg element allows for specifying a constructor argument by name now, with target argument names read from the class file via ASM or from Java 6's @ConstructorProperties annotation (SPR-3313)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1305 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-03 10:21:57 +00:00
Keith Donald 24ae71908d polish
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1304 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-02 23:00:26 +00:00
Keith Donald c0ea120e96 polish
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1303 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-02 22:29:27 +00:00
Mark Fisher 7c9b459aa5 Added support for the 'annotation-driven' element within the 'task' namespace to enable detection of the @Async annotation on Spring-managed objects.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1301 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-02 16:58:43 +00:00
Andy Clement 1e2cecfd76 new feature for binder - automatically create lists and entries in lists upon referencing nulls
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1300 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-02 16:42:43 +00:00
Andy Clement 3342a7acaf BinderTests - two ignored tests reactivated. Binder - modified how annotation based formatters are registered/looked up
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1294 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-02 00:24:43 +00:00
Keith Donald bf179533e6 fixed issue that did not compile with sun compiler
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1293 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-01 23:23:13 +00:00
Keith Donald 3a5a2e3a0d more tests
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1292 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-01 23:03:19 +00:00
Mark Fisher 5c47370315 initial commit of the AsyncAnnotationBeanPostProcessor
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1291 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-01 22:23:40 +00:00
Mark Fisher 3796ab35ed Added tests for the 'scheduled-tasks' element parsing within the 'task' namespace.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1290 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-01 21:40:45 +00:00
Mark Fisher f233fd6fd0 Added tests for the 'scheduler' element parsing within the 'task' namespace.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1289 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-01 21:16:11 +00:00
Keith Donald 63123f9486 forgot to commit
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1285 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-01 18:49:00 +00:00
Mark Fisher 73dc29f9e6 Added package declarations and comments to package-info.java files where they had been missing.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1284 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-01 18:47:52 +00:00
Keith Donald b523dbc37d initial data binder commit; dateformatter
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1283 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-01 18:34:22 +00:00
Chris Beams 49b6bbc8fa RESOLVED - SPR-5523: Replace all 'package.html' artifacts with 'package-info.java'
* Applied patch submitted by Carlos Zuniga


git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1281 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-01 04:14:22 +00:00
Juergen Hoeller 086be262a5 revised Java 6 checks to test for the presence of specific Java 6 interfaces/classes only
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1275 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-28 11:16:42 +00:00
Christian Dupuis 1e633230ec use the annotation meta data in problem reporting
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1267 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-27 15:53:35 +00:00
Christian Dupuis 34b1a72a25 use the annotation meta data in problem reporting
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1266 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-27 15:20:25 +00:00
Andy Clement fcf09e4004 use new SpEL parser
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1261 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-27 04:33:21 +00:00
Keith Donald c4fa35deb3 polish
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1255 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-26 16:22:09 +00:00
Keith Donald 88a935a00d format system initial commit
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1254 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-26 16:18:42 +00:00
Christian Dupuis fc602eb256 added spring.tooling descriptor and images for all namespaces
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1252 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-26 11:58:09 +00:00
Sam Brannen 01023ec911 Updated regarding generics; fixed typos.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1245 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-25 09:04:05 +00:00
Mark Fisher ce0017a838 SPR-4359 renamed 'concurrent' namespace to 'task'
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1229 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-22 03:12:43 +00:00
Mark Fisher 716070be36 SPR-4359 the 'scheduling' namespace is now 'concurrent'
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1226 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-21 18:41:13 +00:00
Juergen Hoeller 4d7576ef85 revised use of id and display name (id may be null; SPR-5761)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1224 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-20 00:12:19 +00:00
Juergen Hoeller 087d4f57f0 revised use of id and display name (id may be null; SPR-5761)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1223 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-19 23:48:44 +00:00
Juergen Hoeller d13225968b polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1217 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-19 22:33:30 +00:00
Juergen Hoeller 61be0a4427 fixed build; revised generic declarations
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1216 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-19 22:31:31 +00:00
Jennifer Hickey 9f87467445 SPR-5256
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1214 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-19 21:02:43 +00:00
Keith Donald ba721e73cd removed unused import
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1211 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-18 13:14:55 +00:00
Keith Donald 05ae07ed98 costin code review comments
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1210 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-18 13:13:34 +00:00
Keith Donald c9c26c6c6c BindingPoint to ConversionPoint, javadoc
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1192 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-15 20:32:23 +00:00
Keith Donald a2f085d87c renamed TypeDescriptor to BindingPoint
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1190 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-15 17:30:03 +00:00
Christian Dupuis 19234d89fc minor change to use registerBeanComponent instead of directly registering the BeanDefinition
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1185 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-15 13:42:24 +00:00
Christian Dupuis 1f065e9daa some minor tweaks to the scheduling namespace parser to make it more tooling friendly; applied new tools:annotation to method attribute in scheduling xsd
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1183 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-15 13:24:28 +00:00
Christian Dupuis 8acad83009 fixed tooling related problem where empty value of an attribute that should take a bean reference would call the RuntimeBeanReference constructor in the namespace parser and throw a IllegalArgumentException although the problem has already been reported using the ProblemReporter API
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1182 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-15 13:22:30 +00:00
Juergen Hoeller f67c8bcfd8 @Import detects and accepts existing configuration class in any order of processing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1176 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-13 20:49:45 +00:00
Juergen Hoeller 6068053628 @Import detects and accepts existing configuration class of the desired type
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1173 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-13 16:19:56 +00:00
Juergen Hoeller 52c241e14f ConfigurationClassBeanDefinition implements AnnotatedBeanDefinition
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1165 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-12 23:12:51 +00:00
Juergen Hoeller cef99d42b5 added SourceExtractor support
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1164 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-12 22:27:37 +00:00
Juergen Hoeller 5a29d0355e removed outdated Attributes references
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1158 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-12 16:14:09 +00:00
Juergen Hoeller ca99081916 added setMetadataReaderFactory method
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1157 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-12 16:13:36 +00:00
Juergen Hoeller ec26065e84 explicitly declared SmartApplicationListener as ApplicationListener<ApplicationEvent>
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1152 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-11 22:49:07 +00:00
Juergen Hoeller ca0a5b63ff generified TypeConverter interface
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1150 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-11 22:44:33 +00:00
Mark Fisher 035c489129 SPR-4359 Added support for a 'task-scheduler' element.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1132 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-08 20:32:11 +00:00
Mark Fisher 55320b2c11 SPR-4359 Initial commit of scheduling namespace support.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1129 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-08 18:32:07 +00:00
Juergen Hoeller 1d1dba1693 Servlet/Portlet ApplicationContexts use a specific id based on servlet/portlet name; DefaultListableBeanFactory references are serializable now when initialized with an id; scoped proxies are serializable now, for web scopes as well as for singleton beans; injected request/session references are serializable proxies for the current request now
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1127 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-07 22:29:55 +00:00
Juergen Hoeller b34a260984 ReloadableResourceBundleMessageSource correctly calculates filenames for locales with variant but without country now (SPR-5716)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1126 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-07 09:24:34 +00:00
Juergen Hoeller 65a871eaa9 moved ScheduledTaskRegistrar to new config package (where the scheduling namespace will live as well)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1118 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-06 08:47:18 +00:00
Juergen Hoeller 151cf74a10 added ScheduledTaskRegistrar etc
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1105 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-05 18:40:43 +00:00
Juergen Hoeller 7205948651 avoid NPE for definitions without bean class specified
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1102 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-05 18:33:20 +00:00
Juergen Hoeller f7642c4e30 polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1092 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-05 09:36:53 +00:00
Juergen Hoeller 699d3f7bbc removed StandardScopes pseudo-enum (superseded by meta-annotated scopes)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1091 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-05 09:32:55 +00:00
Thomas Risberg 3fa3fcac40 fixed JavaDoc
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1075 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-29 21:12:45 +00:00
Juergen Hoeller 906adab5a4 custom stereotype annotations can be meta-annotated with @Service, @Controller etc as well; @Scope and @Transactional are now supported as meta-annotations on custom annotations
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1065 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-26 11:41:06 +00:00
Juergen Hoeller bf86e7cc9d @Configuration parsing fully relies on Spring's MetadataReader abstraction now
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1061 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-24 11:16:46 +00:00
Juergen Hoeller 3eae3501e8 next cut of JavaConfig metadata reading revision: using cached MetadataReaders
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1046 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-22 10:46:24 +00:00
Chris Beams 79cf4ce20a Temporarily ignoring GroovyScriptFactoryTests#testResourceScriptFromTag in order to allow more important fixes to roll out.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1041 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-21 18:14:08 +00:00
Chris Beams 8217d81d02 Fixing build breakage with GroovyScriptFactoryTests.
The problem was that the Messenger object was not being proxed (assertTrue(AopUtils.isAopProxy(messenger)) was returning false).  The cause for this seemed to be that the
pointcut was malformed / out of date, reading execution(* org.springframework.scripting.Messenger.*(..)), when the groovy Messenger class is actually declared in the org.springframework.scripting.groovy package.
I tried updating the fully-qualified package name in the pointcut expression, and this caused AspectJ matching errors saying that there was not such type that matches that FQ name.
So as a final resort, I removed the full-qualification entirely and went with execution(* *..Messenger.*(..)).  All tests pass now, but it raises the question, why was AJ having matching errors?  Is it because
the pointcut matching is being done before the groovy class is loaded?  There could be a potential bug here.

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1040 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-21 17:20:39 +00:00
Chris Beams 95d6f50fc8 (temporarily) increasing visibility of the ConfigurationClassAnnotation interface in an attempt to resolve the issue encountered at http://is.gd/tCud
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1039 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-21 16:24:54 +00:00
Juergen Hoeller b4b61316a7 revised support for annotated factory methods (merged @FactoryMethod functionality into JavaConfig facility)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1033 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-19 23:45:31 +00:00
Juergen Hoeller 30ad8839cb reintroduced "removeApplicationListener" method as well
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@980 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-12 20:59:52 +00:00
Juergen Hoeller 2986c24bf6 reintroduced "removeAllListeners()" method since Spring DM uses it
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@961 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-09 18:18:54 +00:00
Juergen Hoeller 7a4bcafcc6 @Resource names may use ${...} placeholders (SPR-5656)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@955 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-09 09:14:06 +00:00
Chris Beams b818dd91a3 Renamed ConfigurationPostProcessorTests -> ConfigurationClassPostProcessorTests
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@936 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-06 21:29:30 +00:00
Chris Beams 610a8b70ea Fixed SPR-5655 - dm Server issues with ConfigurationClassPostProcessor attempting to read .class files with ASM with incorrect class loader
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@935 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-06 21:23:37 +00:00
Andy Clement 5eb884a7db objects flowing around in expression evaluation are now TypedValue's - these carry generics info, used for conversions.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@925 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-03 23:39:14 +00:00
Andy Clement 2fb46e48c0 design change - no longer surfacing typeDescriptor through property accessor. conversion done internally in property write() code
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@914 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-01 23:27:49 +00:00
Andy Clement 0dec424147 implement new interface method
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@913 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-01 21:58:24 +00:00
Juergen Hoeller c25fe064ce @Value values may use ${...} placeholders (driven by PropertyPlaceholderConfigurer); @Autowired uses field/parameter name as fallback qualifier value (SPR-5152)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@899 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-31 20:27:42 +00:00
Juergen Hoeller c759465a5e added "unregisterManagedResource" method to MBeanExporter/MBeanExportOperations (SPR-5517)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@886 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-31 14:28:14 +00:00
Chris Beams 532426a10d Added test using custom properties file with util:properties and dereferenced with @Value("#{...}")
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@874 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-30 17:17:44 +00:00
Chris Beams 463f1e07de polishing @Configuration tests
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@872 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-30 16:02:04 +00:00
Chris Beams 8d0d8a4de8 RESOLVED - issue SPR-5600: Make naming of @Configuration class processing-related artifacts consistent
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@871 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-30 15:26:21 +00:00
Chris Beams d3e7583a50 Updated BeanMethodTests to reflect change from IllegalArgumentException -> IllegalStateException
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@867 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-28 22:29:28 +00:00
Chris Beams eac93ebd59 resolved:
+ Provide @Primary annotation (SPR-5590)
+ Provide @Lazy annotation (SPR-5591)
+ Test @Bean initMethod/destroyMethod functionality (SPR-5592)
+ Test @Bean dependsOn functionality (SPR-5593)


git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@866 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-28 22:21:50 +00:00
Juergen Hoeller 1d77442f69 polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@856 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-27 17:41:03 +00:00
Chris Beams 3e7fe100e2 RESOLVED - issue SPR-5596: Test @Autowired @Configuration class constructors
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@843 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-27 05:36:29 +00:00
Chris Beams d96ebc4385 consolidated context.annotation.support -> context.annotation
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@842 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-27 04:57:13 +00:00