Commit Graph

600 Commits

Author SHA1 Message Date
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 687153d9e5 added date midnight
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2261 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-05 05:24:50 +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 37ca3a6a83 since 3.0
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2254 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-04 17:33:09 +00:00
Keith Donald 0cb206f257 polish
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2253 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-04 17:25:37 +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 82994cb919 javadoc
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2241 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-30 20:35:29 +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 cd40d6c20d polish; fixed failed tests
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2235 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-30 19:19:27 +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
Thomas Risberg 16540eaf5c added classes from contributed patch for load-time weaving in JBoss 5 (SPR-5764)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2232 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-30 17:11:26 +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
Sam Brannen e59bc085f3 Polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2175 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-24 17:33:23 +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 ae03c4d29a SPR-6245 bean wrapper copy constructor not copying all state
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2153 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-19 01:06:44 +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 e3b0a642b1 added null handling, fixed bug relating to conversion of non-generic collections
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2151 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-18 22:20:53 +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
Keith Donald 5a88d79f35 polish
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2125 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-15 00:38:18 +00:00
Keith Donald c790d3d76e polish
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2124 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-15 00:36:31 +00:00
Keith Donald 99c36adf0e naming improvements from mark fisher code review
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2123 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-15 00:33:17 +00:00
Keith Donald 88956c4788 initial joda time support courtesy of Oliver Gierke
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2122 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-15 00:20:14 +00:00
Keith Donald e323efaa50 method invoking formatter as a convenience
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2121 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-14 22:47:14 +00:00
Mark Fisher 1a3501538f SPR-6170 updated CronSequenceGenerator according to patch applied to the 1.0.x branch of Spring Integration
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2120 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-14 22:22:21 +00:00
Sam Brannen 222c6084a1 JavaDoc polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2119 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-14 22:06:51 +00:00
Keith Donald c460d97e2c removed valueOf convention b/c of unwanted side effects
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2118 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-14 21:37:57 +00:00
Keith Donald 2263ed07d7 fixed failing tests
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2117 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-14 20:45:53 +00:00
Keith Donald abea416863 added convention-based default valueOf formatter
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2116 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-14 18:57:36 +00:00
Juergen Hoeller 7c0bc3a1cd deprecated scheduling support for JDK 1.3 Timer
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2103 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-13 21:52:44 +00:00
Juergen Hoeller 350e2391df avoid hard-coded dependency on backport-concurrent (SPR-6161)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2101 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-13 21:37:05 +00:00
Juergen Hoeller fd54577c86 polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2100 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-13 20:59:10 +00:00
Juergen Hoeller 3f2884910a DataBinder activates autoGrowNestedPaths by default; fixed enum binding with WebRequestDataBinder
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2099 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-13 20:55:57 +00:00
Sam Brannen ab8795c0a6 fixed typo
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2091 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-13 11:19:35 +00:00
Sam Brannen d176edd69c Removed @Override.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2078 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-08 13:32:49 +00:00
Sam Brannen dcd8a34b1f Added an empty implementation of the missing setExclude() method so that the class compiles.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2077 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-08 13:25:43 +00:00
Keith Donald 8a7596d684 custom mappable type tests
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2076 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-07 21:33:53 +00:00
Keith Donald 0570219941 mappable type factory extension point / polish
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2075 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-07 20:27:48 +00:00
Keith Donald ae91b2f25b polish
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2074 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-07 19:37:07 +00:00
Keith Donald cabf63b8b1 mapping exclusions
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2073 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-07 19:28:39 +00:00
Keith Donald 5bd6b04d37 polish
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2072 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-07 19:11:22 +00:00
Keith Donald cc0959b59d nested bean mapper test
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2071 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-07 19:03:33 +00:00
Keith Donald 9e7b87105b addNestedMapper
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2070 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-07 17:50:03 +00:00
Keith Donald 89e7caa35b polish
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2069 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-07 17:36:30 +00:00
Keith Donald d6fe401c43 polish
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2068 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-07 17:28:28 +00:00
Keith Donald b58da6e135 javadoc
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2067 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-07 17:18:10 +00:00
Keith Donald 0235eaad6c polish
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2066 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-07 17:03:02 +00:00
Keith Donald 65c91e5d81 javadoc
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2065 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-07 17:02:22 +00:00
Keith Donald a4bbec9726 renamed to MappingContext since no spel dep
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2064 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-07 16:56:13 +00:00
Keith Donald 5415ff882f added conversion service performance optimizations; added mapping cyclical ref handling; removed ConverterInfo in favor of specifying S and T at registration time if necessary
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2063 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-07 16:54:36 +00:00
Keith Donald a67c0f3065 nested revision
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2061 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-06 21:40:59 +00:00
Keith Donald 6719f4a1b3 spel mapping, polish
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2060 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-06 21:31:49 +00:00
Chris Beams d39d457d0e Continued progress on SPR-5682: Provide dedicated ApplicationContext implementations for use with @Configuration classes
Resolved sub-task SPR-6186: Eliminate duplicate code between ConfigurationClassApplicationContext and ConfigurationClassWebApplicationContext


git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2055 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-06 01:38:16 +00:00
Keith Donald 73cc1b9fbe recursive mapping support
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2052 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-05 20:28:10 +00:00
Chris Beams feaa82a874 SPR-5682:
* polishing for ConfigurationClassApplicationContext & tests
* added ConfigurationClassWebApplicationContext & tests
* next: refactoring out duplications between ConfigurationClassApplicationContext & ConfigurationClassWebApplicationContext


git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2051 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-05 05:27:30 +00:00
Chris Beams b543486b18 SPR-5682: fixing test breakage on CI server due to strange non-determinism in the order of bean names being returned in the key set of the map of beans matching the required type.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2050 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-05 03:29:20 +00:00
Chris Beams ccdce1f590 polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2049 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-05 00:51:19 +00:00
Chris Beams d2cef2201b SPR-5682: Initial support for ConfigurationClassApplicationContext
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2048 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-05 00:35:17 +00:00
Keith Donald 4af6fd7e0d SPR-6179, additional mapper test cases
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2047 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-04 04:13:27 +00:00
Sam Brannen 2efb56dcaa Fixed minor grammatical errors.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2044 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-03 22:19:21 +00:00
Keith Donald 722bdb7222 mapper initial commit
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2042 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-02 16:28:53 +00:00
Sam Brannen 72c1465353 [SPR-6174] DataBinder now uses var-args to set allowed/disallowed/required fields.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2041 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-01 23:28:27 +00:00
Juergen Hoeller 2b72499587 expose arrays as comma-delimited element String
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2032 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-01 11:05:45 +00:00
Mark Fisher 23129d453c updated javadoc
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2019 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-25 14:25:56 +00:00
Mark Fisher 49ed02282c Renamed the 'size' attribute to 'pool-size' for the <executor/> and <scheduler/> elements in the task namespace.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2017 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-25 14:19:42 +00:00
Juergen Hoeller 599910699a fixed overview files
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2005 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-25 08:47:18 +00:00
Juergen Hoeller 092ff94ce7 removed 3.1 feature classes
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1996 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-24 22:53:17 +00:00
Juergen Hoeller 77243b1ac1 PropertyPlaceholderConfigurer supports "${myKey:myDefaultValue}" defaulting syntax
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1995 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-24 22:51:38 +00:00
Juergen Hoeller 0708205690 fixed regression: looking for annotation on original bean class as well, not just on exposed bean type (SPR-5981)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1988 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-24 14:59:26 +00:00
Juergen Hoeller 504db8f514 factored out common resolveTypeArgument(s) method to GenericTypeResolver
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1985 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-24 12:51:52 +00:00
Juergen Hoeller a709d5ffce detect @Bean methods on registered plain bean classes as well (SPR-5795)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1984 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-24 10:45:56 +00:00
Juergen Hoeller 732f682877 polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1983 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-24 10:21:40 +00:00
Juergen Hoeller 4a95222c98 SPR-6094: PostConstruct now processed top-down (base class first); @PreDestroy processed bottom-up (subclass first)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1977 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-23 20:53:21 +00:00
Mark Fisher 3823e25d1f SPR-6142 Moved ErrorHandler strategy interface to the org.springframework.util package so that it can be used by MessageListener containers in addition to TaskSchedulers.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1964 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-23 00:44:58 +00:00
Keith Donald 1c1d043fc8 generic converter revising
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1947 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-21 05:14:14 +00:00
Juergen Hoeller fd6037099c specified excluded names matched against unprefixed FactoryBean names as well (SPR-5926)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1945 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-20 22:22:35 +00:00
Keith Donald 4342f50946 generic converter updates
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1933 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-18 20:08:45 +00:00
Juergen Hoeller 472af43b0e polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1928 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-18 14:07:19 +00:00
Juergen Hoeller e8a9ef9bcf consistent loading of optional classes
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1926 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-18 14:01:39 +00:00
Keith Donald 615834c23d updated formatter conversion service adapter to work with type descriptor
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1913 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-17 19:48:55 +00:00
Keith Donald 65ca2bba6e Converter system implementation cleanup and tidying; wip
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1911 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-17 19:24:07 +00:00
Juergen Hoeller 5713ee318c consistently use varargs signature
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1907 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-17 10:24:56 +00:00
Juergen Hoeller 7bad0343d9 adapted to Converter signature change
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1906 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-17 10:24:08 +00:00
Juergen Hoeller 7fbf1cf583 avoid caching for expression results even when specified as TypedStringValue (SPR-6115)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1905 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-17 10:04:36 +00:00
Keith Donald 7e43aaec3e Mapper and SpelMapper
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1902 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-16 15:40:11 +00:00
Rob Harrop e46f8c044a [SPR-5859] @ManagedOperation can now be used on getters/setters
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1899 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-16 09:25:48 +00:00
Juergen Hoeller e94bf69c1a @Scope annotations not sufficient for scanning anymore
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1895 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-15 12:36:45 +00:00
Juergen Hoeller a65d974b14 initial JSR-330 injection support
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1894 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-15 12:00:55 +00:00
Juergen Hoeller 44c7ef0d16 revised DefaultBindingErrorProcessor to use direct getPropertyName() and getValue() calls on PropertyAccessException itself (SPR-6111)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1892 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-15 10:51:50 +00:00
Rob Harrop 23e67fbe1c [SPR-6017] a few more tweaks to how getLocalName is handled
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1878 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-14 15:00:37 +00:00
Rob Harrop f809d37db3 [SPR-6017] a few more tweaks to how getLocalName is handled
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1876 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-14 10:43:04 +00:00
Juergen Hoeller 8920442e66 revised use of generic provider class for Eclipse compile compatibility
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1873 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-13 21:27:03 +00:00
Rob Harrop b98d52b16b [SPR-3635] [SPR-5039] [SPR-5813] JMX annotation inheritance fixed
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1852 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-08 21:37:02 +00:00
Juergen Hoeller 1e16aecadd BeanFactory supports ObjectFactory as a dependency type for @Autowired and @Value (SPR-6079)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1850 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-08 20:55:00 +00:00
Juergen Hoeller 7626f8f69d fixed formatter annotation lookup
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1841 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-08 01:35:36 +00:00
Juergen Hoeller 8986b17038 fixed format tests
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1839 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-08 00:15:09 +00:00
Juergen Hoeller cf81f04056 polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1837 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-08 00:05:09 +00:00
Juergen Hoeller 317022ee8e initial JSR-303 Bean Validation support; revised ConversionService and FormatterRegistry
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1836 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-07 23:58:42 +00:00
Juergen Hoeller 456eb6a616 expression parser uses context's ConversionService by default
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1833 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-07 18:37:59 +00:00
Costin Leau 699ffc5993 + fixed NPE when closing up non-initialized contexts
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1782 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-28 05:43:12 +00:00
Juergen Hoeller c103aa7733 adapted to changes in non-lenient mode
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1779 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-27 10:45:46 +00:00
Juergen Hoeller 2afa25e697 MBeanServerFactoryBean returns JDK 1.5 platform MBeanServer for agent id "" (SPR-5909)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1765 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-26 13:42:28 +00:00
Juergen Hoeller 5ff66e9757 fixed accidental test failures
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1752 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-24 13:48:21 +00:00
Juergen Hoeller 52b66a8cfc fixed package-info
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1751 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-24 13:36:32 +00:00
Juergen Hoeller 3d9dfb340f support for default "conversionService" bean in an ApplicationContext; revised formatting package, now integrated with DataBinder and AnnotationMethodHandlerAdapter; revised AccessControlContext access from BeanFactory
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1750 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-24 13:30:42 +00:00
Keith Donald d3b25394b8 polish
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1746 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-20 03:53:49 +00:00
Keith Donald 64e0586040 missing field test case
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1745 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-20 03:51:20 +00:00
Keith Donald 4f5fea8fe6 polish
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1744 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-20 03:45:08 +00:00
Keith Donald dd1de62bfc core context.message, context.alert, model.binder modules; includes SpEL-based GenericBinder implementation
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1743 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-20 03:40:23 +00:00
Keith Donald dd6a0d3478 removed framework specific annotation in favor of user-defined for now
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1741 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-19 15:02:50 +00:00
Keith Donald bc85327d19 polish
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1740 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-19 14:43:20 +00:00
Keith Donald 7fb83ba297 SPR-6013, SPR-6014, SPR-6015 tests
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1736 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-17 23:13:29 +00:00
Keith Donald 3a0ff95833 polish
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1735 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-17 18:43:47 +00:00
Keith Donald d0408ded78 SPR-6012, SPR-6013, SPR-6014 initial commit
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1734 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-17 18:35:04 +00:00
Juergen Hoeller 2194ae2c67 revised core conversion package for BeanWrapper/BeanFactory integration
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1721 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-09 00:46:49 +00:00
Costin Leau 657b0c5f2a + interaction with user code uses now dedicated privileged when running under a security manager
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1705 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-06 16:34:39 +00:00
Keith Donald b8e9b09b63 pruned presentation model system from trunk to move to dev branch as its a 3.1 feature now
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1691 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-05 15:29:26 +00:00
Keith Donald c962d1566c pruned presentation model system from trunk to move to dev branch as its a 3.1 feature now
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1690 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-05 15:25:54 +00:00
Mark Fisher 2373c12eed added PeriodicTrigger implementation
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1684 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-04 15:58:54 +00:00
Mark Fisher 10ef17240a added tests for ThreadPoolTaskScheduler
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1673 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-01 03:12:19 +00:00
Mark Fisher 891ecd6d68 Added ErrorHandler strategy for asynchronous tasks submitted to a scheduler. Replaced DelegatingExceptionProofRunnable with DelegatingErrorHandlingRunnable. Both ThreadPoolTaskScheduler and ConcurrentTaskScheduler now support the ErrorHandler strategy.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1672 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-01 02:57:15 +00:00
Mark Fisher 1bd921830f CronSequenceGenerator is now package-protected (only used by CronTrigger)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1671 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-31 18:49:18 +00:00
Keith Donald a0e2b6b13b initial BindingLifecycle @MVC integration
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1659 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-30 11:18:39 +00:00
Keith Donald 595dca1d33 fixe bug in element type for jeremyg
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1657 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-29 21:30:48 +00:00
Juergen Hoeller 5b6b05cb5a fixed constructor resolution algorithm to trigger ambiguity exception as late as possible
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1656 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-29 16:43:12 +00:00
Juergen Hoeller 0d93975a05 revised non-lenient resolution
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1648 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-28 14:43:37 +00:00
Keith Donald 755ceda710 delegate to presentation model
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1647 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-28 14:01:55 +00:00