Juergen Hoeller
d2000690b5
ObjectFactoryCreatingFactoryBean creates a serializable ObjectFactory reference; added ProviderCreatingFactoryBean, exposing a serializable JSR-330 Provider reference (SPR-6998)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3191 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-30 14:45:43 +00:00
Chris Beams
22b34b3687
incorrectly invoked factory methods now result in exceptions with more descriptive messages (SPR-5475)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3177 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-26 12:05:36 +00:00
Chris Beams
9cc8d7ef91
SPR-7009, SPR-6972: backed out unintentionally committed tests
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3145 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-23 15:29:35 +00:00
Chris Beams
20719a4b27
SPR-6972: removed import
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3143 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-23 12:06:24 +00:00
Chris Beams
667eed1794
SPR-6972: failed attempt to reproduce issue
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3142 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-23 12:06:16 +00:00
Juergen Hoeller
47871d47e2
autowire="byType" ignores parameter name when choosing a primary bean, as defined (SPR-6917)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3075 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-10 13:46:31 +00:00
Juergen Hoeller
f9f4b33552
do not try to convert read-only Collections/Maps (SPR-6808)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2932 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-08 12:29:21 +00:00
Costin Leau
18afcd07c3
SPR-3709
...
+ improved example to work with multi-nested declarations
+ used JDK 5 syntax
+ added documentation code into trunk (including unit test) for easier future reference
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2867 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-27 12:25:04 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Juergen Hoeller
448b018f47
storing type information as specified (SPR-5556, SPR-5562); explicit XML array element in spring-beans-3.0.xsd (SPR-5543)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1003 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-15 22:27:32 +00:00
Juergen Hoeller
c90e6f7641
declarative destroy-method="..." specifications get validated at bean creation time (SPR-5602)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@858 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-27 17:45:53 +00:00
Juergen Hoeller
985e2b0068
added further generic property resolution test
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@853 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-27 17:31:15 +00:00
Arjen Poutsma
39d5376d73
Fixed URI encoding in URIEditor to be RFC 2396 compliant
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@682 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-24 15:12:54 +00:00
Juergen Hoeller
6656a76cae
prototype beans receive independent collection/array even when based on single value (SPR-5512)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@663 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-21 18:04:08 +00:00
Juergen Hoeller
3819be4316
testing the exception message when conversion of a generic collection element fails
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@660 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-20 17:12:29 +00:00
Juergen Hoeller
305deb9631
SimpleAliasRegistry detects resolved aliases that loop back to the original name (SPR-5419); PropertyPlaceholderConfigurer does not modify Map in case of equal String keys (SPR-5318); inner class names in Java source style ("java.lang.Thread.State") supported as well (SPR-5210)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@657 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-19 16:17:35 +00:00
Juergen Hoeller
613f744990
generic collection type resolution respects upper bound as well
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@624 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-13 09:09:56 +00:00
Arjen Poutsma
1aa53e5199
Renamed ShortcutTests to SimplePropertyNamespaceHandlerTests
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@571 50f2f4bb-b051-0410-bef5-90022cba6387
2009-01-22 11:41:14 +00:00