Commit Graph

266 Commits

Author SHA1 Message Date
Juergen Hoeller a7bd975e4c removed getBeansWithAnnotation(Class,boolean,boolean) method from ListableBeanFactory; reimplemented getBeansWithAnnotation(Class) to avoid use of getBeanNamesForType(Object.class)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2641 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-13 23:23:34 +00:00
Juergen Hoeller 082111871b fixed accidental breakage in bean class resolution with tempClassLoader
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2640 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-13 16:07:03 +00:00
Juergen Hoeller eb07dd4636 polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2638 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-13 15:30:52 +00:00
Juergen Hoeller e1e257ea1a bean properties of type enum array/collection can be populated with comma-separated String (SPR-6547)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2635 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-13 13:21:30 +00:00
Juergen Hoeller 0dae3cf6ea PropertyPlaceholderConfigurer is compatible with Spring 2.5 extensions such as GigaSpaces again (SPR-6514)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2609 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-09 16:09:12 +00:00
Juergen Hoeller f20044126d relaxed warning about ambiguous setters to only be logged in case of actual write access (SPR-6399)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2595 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-07 18:57:32 +00:00
Juergen Hoeller 8adc48b0cd import works with relative resources in other classpath roots again (SPR-6493)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2593 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-07 15:16:36 +00:00
Juergen Hoeller f811379713 made parse and decorate non-final (SPR-6526)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2586 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-07 09:16:00 +00:00
David Syer 2bad74c238 SPR-5327: tweak the ivy.xml so that commons-logging is a separate configuration. It already comes out as optional in the generated poms (including core), which isn't great, but I can't see what is causing that
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2579 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-04 18:25:31 +00:00
Juergen Hoeller 54f6989469 full support for formatters on array/collection elements (SPR-6504)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2569 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-04 00:34:40 +00:00
Juergen Hoeller 9970eda08a lenient property name casing, beyond standard JavaBeans conventions (SPR-6491)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2568 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-03 23:34:37 +00:00
Juergen Hoeller 65df1c6f4c constructor arguments can be overridden by name in child bean definitions (SPR-6463)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2546 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-30 12:17:28 +00:00
Juergen Hoeller 4e11a46208 polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2523 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-27 01:43:34 +00:00
Juergen Hoeller e43d0331ce propagate full TypeDescriptor for field-level conversion as well
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2522 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-27 01:43:14 +00:00
Juergen Hoeller d0790eca4d added configurable "autoGrowNestedPaths" property to DataBinder (SPR-6430)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2505 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-25 00:17:29 +00:00
Juergen Hoeller 6218b0a869 extended CGLIB version range (SPR-6400)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2486 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-21 00:30:50 +00:00
Costin Leau 04da2f250f SPR-6401
+ increase cglib range in OSGi manifest

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2479 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-20 20:23:21 +00:00
Keith Donald 9d1daf3232 found hotspot; added ConverisonServiceFactoryBean
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2473 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-20 14:43:12 +00:00
Juergen Hoeller 311e4b8702 removed formal deprecation from addPropertyValue; just hinting at add now
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2472 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-20 14:28:38 +00:00
Juergen Hoeller 1ff4bbe304 init/destroy methods get processed in the order of declaration at each hierarchy level (SPR-6344); process DestructionAwareBeanPostProcessors in common post-processor order; aligned metadata retrieval code
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2466 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-19 23:49:10 +00:00
Juergen Hoeller 39bf8dc02e added chaining-capable "add" method to MutablePropertyValues
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2462 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-19 22:30:35 +00:00
Juergen Hoeller 553e4083e9 revised scope inheritance: default scope is "" (empty String) now; consistent isPrototype checks
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2457 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-19 18:32:10 +00:00
Juergen Hoeller 7f96465b12 BeanDefinitions return isSingleton()=true by default again (for CXF compatibility)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2456 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-19 16:40:06 +00:00
Keith Donald 12b6feacac moved generic converter to spi; added entity converter; removed various service impls in favor of service factory
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2447 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-19 09:10:51 +00:00
David Syer d349ea9ea6 RESOLVED - issue SPR-6366: Cannot import bean definitions using classpath*: resource location
http://jira.springframework.org/browse/SPR-6366

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2444 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-17 09:53:10 +00:00
Keith Donald 449889af84 SPR-6350
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2435 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-14 05:44:46 +00:00
Juergen Hoeller 3c0a34f74a added setValidating to XmlBeanDefinitionReader itself as well (SPR-6336)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2406 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-12 16:35:29 +00:00
Juergen Hoeller 997c3dcc75 report error in case of constructor-arg index ambiguity (SPR-6329)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2404 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-12 16:22:42 +00:00
Juergen Hoeller d217a969af 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@2376 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-12 02:30:12 +00:00
Juergen Hoeller 90821fb64b polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2371 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-12 02:11:12 +00:00
Juergen Hoeller ece535fe9c 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@2370 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-12 02:10:59 +00:00
Juergen Hoeller 10b00ea7db 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@2369 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-12 02:10:44 +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
Juergen Hoeller 9e2e94baf4 log a warning in case of ambiguous setter methods (SPR-4931)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2362 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-11 23:27:34 +00:00
Juergen Hoeller 31c12ab2e4 improved context shown for non-qualifying dependency (SPR-5912)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2355 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-11 21:44:36 +00:00
Juergen Hoeller 66c94dd130 introduced populateDefaults template method (SPR-6010)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2349 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-11 19:47:31 +00:00
Juergen Hoeller ded6cd14e5 allow multiple tool:exports entries
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2348 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-11 19:42:12 +00:00
Juergen Hoeller 14b4a77614 refined javadoc (SPR-5789)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2347 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-11 19:41:13 +00:00
Costin Leau 4d49e1e70d SPR-5762
+ allow unknown URL protocols to be used with import directive

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2299 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-09 15:59:08 +00:00
Arjen Poutsma 27d3926a16 SPR-6005 - org.springframework.beans.propertyeditors.URIEditor does double escaping for % signes for URIs that contain a schema
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2295 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-09 09:15:49 +00:00
David Syer 44c18bcf2d SPR-4783: missing commit for bean def parser (duh)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2204 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-27 18:03:38 +00:00
David Syer df6e46b128 RESOLVED - issue SPR-6195
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2194 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-27 13:41:22 +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 94ee22dffd updated version ranges for javax.el and javax.inject
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2171 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-23 17:26:12 +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 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
Sam Brannen 5b2a0f422e Updated Eclipse classpath regarding javax.inject and javax.validation.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2136 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-16 10:16:25 +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
Juergen Hoeller 9b508fef21 revised destroy method lookup after deserialization (avoiding NPE in case of default-destroy-method; SPR-6211)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2128 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-15 10:33:05 +00:00