Commit Graph
295 Commits
Author SHA1 Message Date
Mark Fisher 5c1a7cc953 SPR-5507 Added support for shutdown order on SmartLifecycle. DefaultLifecycleProcessor now manages the shutdown in phases depending on that order (with a timeout value per group).
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2368 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-12 02:09:44 +00:00
Juergen Hoeller c9d74e4eb4 MergedBeanDefinitionPostProcessors apply after all other post-processors (for @PostConstruct to be invoked after other BPPs; SPR-6066)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2366 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-12 01:43:34 +00:00
Juergen Hoeller ad0168d2f7 child bean definition's scope attribute can be inherited from parent bean definition now (SPR-3542)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2363 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-12 00:09:05 +00:00
Sam Brannen bd428f98fd Deleting unused imports.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2353 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-11 21:14:25 +00:00
Juergen Hoeller c1ff125fb8 AnnotationMetadata returns Class values by default (again), allowing for explicit retrieval of String class names where preferred (SPR-5827)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2345 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-11 19:11:41 +00:00
Keith Donald 78390ae84e polish
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2342 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-11 19:00:52 +00:00
Keith Donald ad93204090 annotation driven number formatting with default number formatting rules
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2339 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-11 18:53:02 +00:00
Arjen Poutsma e1d7fd856f SPR-6308 - Spring Expression Language creates systemProperties bean calling System.getProperties() which in enterprise shared containers is locked down
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2335 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-11 16:39:20 +00:00
Chris Beams 1452b2ffd1 SPR-6328: Rename @ImportXml -> @ImportResource and allow for usage of non-XML BeanDefinitionReader types
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2325 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-11 00:48:30 +00:00
Keith Donald dd4c123427 date time format code review
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2318 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-10 20:34:59 +00:00
Keith Donald bc9ef36f26 updated favoring style pattern string instead of Style enum for DateTimeFormat
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2304 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-09 21:07:41 +00:00
Keith Donald 88c16dbd4d javadoc polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2303 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-09 20:25:03 +00:00
Chris Beams a502272b6b Additional tests rounding out @ImportXml coverage
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2292 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-07 03:53:58 +00:00
Chris Beams 2bfa32da80 SPR-6158: Initial implementation and tests for @ImportXml
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2281 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-07 00:32:40 +00:00
Chris Beams 2d0a6d1db8 SPR-5529: removed package.html files
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2280 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-06 23:15:35 +00:00
Chris Beams 68ddf0e1dc SPR-5523: converted a few additional package.html artifacts to package-info.java
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2279 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-06 23:13:15 +00:00
Keith Donald 3aa7333ce6 fixed failing test due to case issue
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2270 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-05 19:17:53 +00:00
Keith Donald 6338963d3e iso date time format tests
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2268 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-05 17:18:54 +00:00
Keith Donald 74f2f44fdd Renamed org.springframework.ui.format package to simply org.springframework.format package; 'ui' is not adding any value - it makes the package name longer and also discourages use of formatters outside in other "non ui" environments where localized formatting of field values is needed.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2266 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-05 15:21:22 +00:00
Keith Donald d48f51199c revised matchable converter lookup algorithm; added conversion service bean container tests
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2265 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-05 14:52:57 +00:00
Keith Donald 9db9fe4cb1 comment on ignored test
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2260 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-05 05:21:19 +00:00
Keith Donald cce2a0896f more joda time formatting tests
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2259 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-05 05:19:27 +00:00
Keith Donald 35b2f32452 fixed bug related to annotation driven formatting
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2258 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-04 23:12:24 +00:00
Keith Donald 87c2857a8e formatting tests and polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2257 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-04 23:02:10 +00:00
Keith Donald 1866a1ac97 joda time formatting tests
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2256 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-04 22:53:26 +00:00
Keith Donald 4aafe47a52 polish
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2249 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-04 17:07:25 +00:00
Keith Donald c8d2353322 formatters now plugged into unified type conversion api with formatter specific registry spi
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2248 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-04 00:08:47 +00:00
Keith Donald a1510b316e fixed failing test; take 2
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2239 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-30 19:52:19 +00:00
Keith Donald 85947bcb4b removed unused import
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2238 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-30 19:34:55 +00:00
Keith Donald b9b7bfb3d4 Fixed failed tests
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2237 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-30 19:34:21 +00:00
Keith Donald ca2b8bcb35 ui.format system refining from RC1 feedback: Support for one format annotation applying to multiple field types, Printer/Parser building blocks for more flexibility, full Joda time formatting support, FormattingService as a service entry-point for clients to use
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2233 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-30 18:44:40 +00:00
David Syer 3cd305ef59 RESOLVED - issue SPR-4783: OK, that wasn't it (reverted previous dumb change). Scratch, scratch...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2200 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-27 15:48:59 +00:00
David Syer 726ac13389 RESOLVED - issue SPR-4783: Add name attribute to XML namespaces that want to support it (through parser base class)
Duh: bitten by the classpath*: again

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2199 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-27 15:33:59 +00:00
David Syer b396d4b212 RESOLVED - issue SPR-4783: Add name attribute to all namespaces that use AbstractBeanDefinitionParser and declare name= attribute (includes <lang:groovy.../>).
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2197 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-27 15:22:36 +00:00
David Syer 9c54e312ad RESOLVED - issue SPR-4661: Improve context-property-placeholder configurablity
Classpath ordering broke the build (duh: test-classes comes before classes in Maven but not Ant).

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2196 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-27 14:49:10 +00:00
David Syer 62263a9bc7 RESOLVED - issue SPR-4661: Improve context-property-placeholder configurablity
Remove spaces from locations (seems like integration from SPR-6195 didn't reach the build yet)

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2195 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-27 13:57:48 +00:00
David Syer 835dfa1d2b RESOLVED - issue SPR-4661: Improve context-property-placeholder configurability
Added new features to property override and placeholders (order, locations, system-properties-mode, ignore-*)

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2193 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-27 13:38:29 +00:00
David Syer 98df8e3d9a SPR-6273: resolved with patch - use recursive call to reset low order bits and then re-seek match for pattern
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2184 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-26 22:37:04 +00:00
Juergen Hoeller 26650fc81b verified choice of primary bean in case of implicit name match in a scanning plus factory method scenario (SPR-6065)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2183 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-26 15:28:09 +00:00
Juergen Hoeller 215f0f6841 reworked ConfigurationClass(Web)ApplicationContext into AnnotationConfig(Web)ApplicationContext; revised BeansException signatures
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2172 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-23 17:46:16 +00:00
Juergen Hoeller 1edefe991a fixed getBean signature ambiguity in tests
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2165 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-20 20:14:49 +00:00
Juergen Hoeller 0a9a69b6c9 added first cut of getBean(Class) lookup method
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2164 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-20 19:52:30 +00:00
Juergen Hoeller 3640e2235f full compliance with the JSR-330 TCK
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2161 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-20 18:18:25 +00:00
Keith Donald 6d145373e5 commented out test failing nightly snapshot
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2155 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-19 02:42:29 +00:00
Keith Donald ef5e79f47c SPR-6199
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2152 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-19 00:13:30 +00:00
Keith Donald f9a3ded4a7 conditional mapping
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2144 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-17 05:33:04 +00:00
Keith Donald 450542cd50 polish
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2142 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-17 04:03:56 +00:00
Keith Donald a1ec4380b7 MapperFactory and MapperBuilder config API
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2138 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-16 22:44:54 +00:00
Keith Donald 883eb1a831 polish
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2133 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-15 15:49:26 +00:00
Juergen Hoeller c50391a921 updated to final versions of JSR-330 and JSR-303 APIs
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2132 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-15 14:31:41 +00:00