Commit Graph

363 Commits

Author SHA1 Message Date
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
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
Juergen Hoeller a6a47671bf polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2104 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-13 22:48:25 +00:00
Juergen Hoeller 9b75d3589f revised RootBeanDefinition constructors
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2102 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-13 21:39:27 +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
Juergen Hoeller e35ed65ff9 Enum counts as simple value type
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2098 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-13 20:51:59 +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 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
Juergen Hoeller c6444ee017 renamed getAnnotations to getMethodAnnotations; added getMethodAnnotation and getParameterAnnotation convenience methods
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2037 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-01 15:20:31 +00:00
Juergen Hoeller bac9fee0be CustomEditorConfigurer supports PropertyEditor instances again (with deprecation warning); for XFire compatibility (SPR-6157)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2036 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-01 13:40:55 +00:00
Keith Donald 06201b5eb4 SPR-6032 & SPR-6033: Auto grow nested path enhancements to BeanWrapper
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2030 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-29 19:54:35 +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
Mark Pollack 4e2aaf7934 SPR-6119 - Add slf4j dependency back to orm's pom.xml but in test scope as it is needed to run tests that use Hibernate
SPR-5956 - Remove commons-logging dependency definitions in pom.xml for all but spring-core so as to make exclusion rule easier for user who use slf4j

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2001 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-25 05:16:55 +00:00
Juergen Hoeller 7d68ca8992 PropertyPlaceholderConfigurer supports "${myKey:myDefaultValue}" defaulting syntax
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1994 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-24 22:34:02 +00:00
Juergen Hoeller c032a53d71 consistent dependencies
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1989 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-24 15:09:57 +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 7f532b126d PropertyOverrideConfigurer's "ignoreInvalidKeys" ignores invalid property names as well (SPR-5792)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1987 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-24 14:40:13 +00:00
Juergen Hoeller c96e42e41e polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1979 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-23 21:19:28 +00:00
Juergen Hoeller 3cc2a42bec made InitDestroyAnnotationBeanPostProcessor's logger field transient (SPR-5962)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1978 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-23 21:17:30 +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
Juergen Hoeller 5446706ec7 AbstractBeanDefinitionParser can deal with null return value as well (SPR-5872)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1968 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-23 13:51:14 +00:00
Mark Pollack b5e25453d2 pom maintenance
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1952 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-21 07:37:30 +00:00
Keith Donald aa9794526d updated for change in conversion service api; source type desc now required
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1935 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-18 20:32:41 +00:00
Keith Donald fad7b691bf refined generic converter concept
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1932 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-18 19:57:59 +00:00
Juergen Hoeller 09cb11776e added default editors for "java.util.Currency" and "java.util.TimeZone"
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1929 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-18 14:15:06 +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
Juergen Hoeller 56d0246713 adapted to Converter signature change
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1908 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-17 15:20:04 +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 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
Rob Harrop b4f29862b1 [SPR-6063] fixed issue with inconsistent views of PropertyDescriptors
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1900 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-16 09:53:14 +00:00
Juergen Hoeller 856b7edc51 protected @Autowired method can be overridden with non-annotated method to suppress injection; private @Autowired methods with same signature will be called individually across a hierarchy (SPR-6112)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1897 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-15 15:52:13 +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
Juergen Hoeller 05ab1cea77 @RequestParam and co support placeholders and expressions in their defaultValue attributes (SPR-5922); @Value expressions supported as MVC handler method arguments as well (against request scope)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1877 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-14 10:48:15 +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
Rob Harrop 8bfc41077f [SPR-6017] a few more tweaks to the BeanDefinitionParserDelegate public contract
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1874 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-14 10:02:15 +00:00
Rob Harrop ebf625b081 more work on enabling non-namespace extensions of xml parsing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1871 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-11 20:00:04 +00:00
Rob Harrop fc6156dde9 [SPR-5644] Support for Enum<?> and Enum<T> values as FQN.FIELD_NAME in type conversion
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1869 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-11 18:31:51 +00:00
Juergen Hoeller 49e0531f37 polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1858 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-08 23:03:22 +00:00
Juergen Hoeller 641f1eb58d BeanFactory prefers local primary bean to primary bean in parent factory (SPR-5871)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1857 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-08 23:01:26 +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 54f08aeb88 added copy of SerializationTestUtils to beans module
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1851 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-08 21:00:48 +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
Rob Harrop fd5b40d1cc reworked PropertyPlaceholderConfigurer to use new PropertyPlaceholderHelper
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1849 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-08 20:10:26 +00:00
Rob Harrop 2103fde78f fix to resource handling in PluggableSchemaResolver
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1842 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-08 08:37:10 +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 75e4b86c95 expression parser uses context's ConversionService by default
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1834 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-07 18:53:01 +00:00
Juergen Hoeller e4c3adba2d polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1832 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-07 18:37:01 +00:00
Juergen Hoeller 4354ffd683 updated to CGLIB 2.2 and EHCache 1.6.2
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1830 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-07 18:04:27 +00:00
Juergen Hoeller 4446156e2f fixed currently-in-creation check to apply with any log level (SPR-5996)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1829 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-07 12:50:49 +00:00
Rob Harrop 4d0b327678 [SPR-6017] updated DBDR and BDPD to allow for overriding of namespace-specific methods
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1820 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-04 18:22:37 +00:00
Rob Harrop 17821d8d39 updated javax.el dependency to match the IDEA project file
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1819 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-04 18:17:38 +00:00
Rob Harrop f00f605469 [SPR-6004] Fixed NPE in BeanDefinitionParserDelegate when using empty namespace as the default
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1818 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-04 16:59:07 +00:00
Juergen Hoeller a521abefcc updated dependencies
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1791 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-31 11:25:54 +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
Costin Leau b2b4682332 + add implicit (String) type for typed string values w/o a specified type
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1776 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-27 09:47:15 +00:00
Juergen Hoeller dacde6959a fixed accidental test failures
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1760 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-25 13:49:10 +00:00
Juergen Hoeller 1cbc4ac602 try to create unknown collection implementation types via default constructor
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1759 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-25 13:29:22 +00:00
Costin Leau 503c7d9faa + add security manager checks to avoid the creation of inner privileged action classes
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1753 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-24 15:53:48 +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 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
Costin Leau b3f6d339c0 + update copyright dates on some files
+ migrated test from JUnit 3 to 4

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1725 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-09 08:47:24 +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 4fa3a9ca15 + removed unneeded method (one less item off the stack)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1710 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-06 22:50:13 +00:00
Costin Leau c8a037ce93 + added fine grained privileged blocks to preserve the caller security stack when invoking the callee
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1708 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-06 22:31:57 +00:00
Costin Leau 92bffc2fb5 + fixed exception unwrapping
+ optimized path for getBean (and thus fixed another test)

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1707 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-06 19:08:14 +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
Mark Pollack 2f66da5293 SPR-5976 - Upgrade POMS to JUnit 4.6
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1696 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-05 17:48:53 +00:00
Sam Brannen 68d07767ec Parameterized/generified static methods in BeanUtils.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1681 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-04 12:06:14 +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 7d40e1d032 prevent non-public access to bean class as well, if demanded
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1654 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-29 15:15:47 +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
Juergen Hoeller 1b37f79e4e lenientConstructorResolution flag applies to factory methods as well
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1638 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-27 14:09:42 +00:00
Juergen Hoeller e49820d4b0 @Required does not get processed on beans returned by @Bean factory methods (SPR-5744)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1601 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-24 13:29:28 +00:00
Christian Dupuis e81fd7b5d3 xsds now use schemaLocation attribute on xsd:import elements to specify the concrete schema version to import
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1589 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-22 14:06:44 +00:00
Juergen Hoeller d67c11d48b @PostConstruct works for multiple private init methods of the same name in a hierarchy (SPR-5945)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1588 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-22 12:52:47 +00:00
Juergen Hoeller eda499c4d0 polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1577 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-21 14:14:53 +00:00
Juergen Hoeller 53cfa5d4fa revised static annotation check
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1576 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-21 14:12:16 +00:00
Juergen Hoeller 0874513d0e revised lenient constructor resolution (follow-up to SPR-5816)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1552 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-16 17:22:03 +00:00
Juergen Hoeller 98a82fe328 introduced "nonPublicAccessAllowed" flag (SPR-5882)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1551 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-16 15:52:27 +00:00
Juergen Hoeller 6d0e3ced2e introduced "lenientConstructorResolution" flag (SPR-5816)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1549 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-16 13:27:47 +00:00
Juergen Hoeller 2a699594df consistently allow array element
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1548 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-16 11:35:25 +00:00
Juergen Hoeller acd0fb7199 constructor argument type matching supports arrays and simple class names now (SPR-5844)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1547 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-16 11:25:52 +00:00
Juergen Hoeller 3cb902ef21 avoid potential NPE (SPR-5930)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1542 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-15 15:07:37 +00:00
Chris Beams b33d28d6cf updated .jms dependency on junit 4.6.0 from test->runtime to test->compile. touched all org.eclipse.jdt.core.prefs (during the process of importing the projects). only the date comments within each have changed.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1541 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-15 07:26:31 +00:00
Mark Pollack bed23619b7 SPR-5619
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1506 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-10 04:02:08 +00:00
Andy Clement 898f8192c8 SPR-5906: test and fix for using expressions in property list keys and values
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1486 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-07 20:13:21 +00:00
Sam Brannen aef72ba508 [SPR-5895] Upgraded to EasyMock 2.5.1.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1462 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-03 09:32:15 +00:00
Sam Brannen 887f8b3c10 [SPR-5887] Upgraded to JUnit 4.6.0.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1461 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-02 18:07:55 +00:00
Sam Brannen 3115f99bf7 copyright and typo
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1406 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-21 12:54:04 +00:00
Juergen Hoeller eaf7430d2e @Configurable injection failure logged with refined message and without a full stacktrace (SPR-5752)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1327 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-08 15:54:00 +00:00
Juergen Hoeller a233fe2c9f strict matching of named arguments
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1307 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-03 13:16:01 +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
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 960e07bc5d polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1264 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-27 12:54:19 +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
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
Christian Dupuis dfbcd4f190 added spring-tool-3.0.xsd; new expected-method element to describe possible methods for an attribute
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1180 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-15 11:03:37 +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 11450f1fdb updated all Spring Framework OSGI manifests to list unversioned imports explicitly; relaxed several OSGi bundle dependencies to optional and extended version ranges
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1159 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-12 16:43:15 +00:00
Arjen Poutsma 4c8894fb33 Fixing build.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1153 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-12 08:26:33 +00:00