Commit Graph
113 Commits
Author SHA1 Message Date
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 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 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 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 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
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 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
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 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
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
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 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 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
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
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
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
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
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
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 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 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 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
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 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
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
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