Chris Beams
6316448453
Increment version to 3.0.8.BUILD-SNAPSHOT
2011-12-22 22:23:45 +01:00
Chris Beams
40015e3de3
Release Spring Framework 3.0.7.RELEASE
2011-12-22 22:23:34 +01:00
Juergen Hoeller
836e3c9253
refined collection element conversion (SPR-8674)
2011-12-22 02:14:55 +01:00
Chris Beams
efd2fc7688
Increment version to 3.0.7.BUILD-SNAPSHOT
2011-12-19 15:35:48 +01:00
Juergen Hoeller
4a7b96c4ca
take element/key/value objects into account for the best possible type descriptor
2011-12-12 00:44:38 +00:00
Juergen Hoeller
8213d0cb50
restored DataBinder's ability to bind to an auto-growing List with unknown element type (SPR-8828)
2011-12-07 21:25:54 +00:00
Juergen Hoeller
d64dd1943f
consistent specification of standard meta-annotations
2011-12-03 15:47:29 +00:00
Juergen Hoeller
94513c1a28
fixed nested element conversion with a DataBinder + ConversionService + PropertyEditor (SPR-8674)
2011-12-01 18:49:53 +00:00
Juergen Hoeller
c2997f4dd9
backported Java 6 visibility bridge method pair (SPR-8660)
2011-12-01 13:12:59 +00:00
Juergen Hoeller
8a43dd172c
fixed getAsText javadoc (SPR-7890)
2011-11-28 21:14:47 +00:00
Juergen Hoeller
a9f28575b1
optimized DefaultListableBeanFactory's PropertyDescriptor caching for concurrent access (SPR-7863)
2011-10-20 12:06:40 +00:00
Juergen Hoeller
58ea5a702d
backported autogrow fix: converted Collection differs from original Collection
2011-08-18 20:31:27 +00:00
Chris Beams
97b988ade8
Update pom versions to 3.0.6.BUILD-SNAPSHOT
2011-08-18 19:34:46 +00:00
Juergen Hoeller
19c6a4e209
RequiredAnnotationBeanPostProcessor's skip attribute accepts "true" as String value as well (SPR-8617)
2011-08-16 22:41:45 +00:00
Juergen Hoeller
3ffc0a2da2
SpringBeanAutowiringSupport is able to process @Value annotations on any given target instance (SPR-8574)
2011-08-03 10:20:04 +00:00
Juergen Hoeller
c0257aba9b
accepts description subelement within map entry as well (as per the XSD; SPR-8563)
2011-07-28 11:14:26 +00:00
Juergen Hoeller
79aa661dd6
DefaultListableBeanFactory allows for init methods to register further bean definitions (again; SPR-7757)
2011-07-27 22:52:00 +00:00
Juergen Hoeller
63fe7bdd34
switched from readResolve to readObject
2011-07-04 21:21:56 +00:00
Juergen Hoeller
270db64243
optimized debug logging in case of non-convertible collection (SPR-8499)
2011-07-04 09:59:58 +00:00
Juergen Hoeller
eb50eec85b
DataBinder uses a default limit of 256 for array/collection auto-growing (SPR-7842)
2011-07-03 20:39:19 +00:00
Juergen Hoeller
4faa5af3f8
backported bridge method detection for class hierarchies with mixed visibilities (SPR-7900)
2011-06-22 21:25:50 +00:00
Juergen Hoeller
b82edcca04
DefaultListableBeanFactory is only deserializable through a SerializedBeanFactoryReference
2011-06-22 20:55:44 +00:00
Juergen Hoeller
d8a4949faf
getBean(name, type) attempts type conversion if necessary (SPR-8480)
2011-06-22 20:53:38 +00:00
Juergen Hoeller
fece2c1125
restored support for String-to-ContextResource conversion (SPR-8383)
2011-06-15 15:46:41 +00:00
Juergen Hoeller
43f8eca91b
restored original GenericConversionService behavior with respect to empty collections/maps; restored original FormattingConversionService behavior with respect to the use of subtypes; fixed collection element resolution when using a ConversionService with a DataBinder
2011-06-13 23:40:22 +00:00
Juergen Hoeller
7a6b2cfe1f
shortened build properties "org.junit.version" to "junit.version" and "org.testng.version" to "testng.version"; reverted SLF4J version back to 1.5.3 (for Hibernate 3.3.1 compatibility)
2011-06-09 13:51:30 +00:00
Juergen Hoeller
ca19b14f13
first bunch of backports from 3.1 M2 to 3.0.6
2011-06-08 22:49:41 +00:00
Chris Beams
0206845341
Spring 3.0.5
2010-10-20 23:33:02 +00:00
Chris Beams
c7aaa85ef6
Add proper default values for 'merge' attributes in collection elements (SPR-7656)
2010-10-15 07:56:02 +00:00
Juergen Hoeller
1933b648c3
fixed @Value injection to correctly cache temporary null results for non-singleton beans (SPR-7614)
2010-10-14 19:40:36 +00:00
Juergen Hoeller
5cb06f5da2
consistent caching of @Autowired arguments in field and method case (SPR-7635)
2010-10-14 09:34:31 +00:00
Juergen Hoeller
0195b0da3c
BeanWrapper does not attempt to populate Map values on access (just auto-grows Map itself)
2010-10-14 00:14:50 +00:00
Juergen Hoeller
27a10c74d1
resolve dependency outside of synchronized block before subsequently preparing cached arguments (SPR-7635)
2010-10-13 23:22:57 +00:00
Juergen Hoeller
7893b3ebf6
applied synchronization in order to avoid race condition in skipping check (SPR-7635, SPR-7642)
2010-10-13 22:29:28 +00:00
Juergen Hoeller
ac5b1bcfab
fixed Autowired/CommonAnnotationBeanPostProcessor to prevent race condition in skipping check (SPR-7635, SPR-7642)
2010-10-12 22:56:38 +00:00
Juergen Hoeller
061063257a
optimized @Bean error messages (SPR-7628, SPR-7629)
2010-10-10 18:31:03 +00:00
Juergen Hoeller
cbab6fa59f
reduced BeanDefinition footprint by initializing Sets and Maps with 0
2010-10-01 22:22:50 +00:00
Juergen Hoeller
6d4faa6c52
ApplicationContext registers context-specific ClassArrayEditor for its bean ClassLoader (SPR-1461)
2010-09-14 05:09:08 +00:00
Chris Beams
05bcc4028d
Fix assumption about file-based Resources in PropertiesLoaderSupport (SPR-7547)
...
When using PropertiesLoaderSupport implementations (principally
PropertyPlaceholderConfigurer), an assumption was made that any
Resource representing a set of properties must be file-based. SPR-7547
exposed the fact that if a non-file-based Resource implementation such
as ByteArrayResource were passed in, an IllegalStateException would be thrown
from the AbstractResource base class' implementation of getFilename().
This is now patched, and PropertiesLoaderSupport implementations treat
Resource implementations equally, regardless of file-orientation.
See also SPR-7552.
2010-09-13 20:23:26 +00:00
Juergen Hoeller
134e79c0fd
clearly document behavior with respect to beans of same name at different factory levels (SPR-6117)
2010-09-09 22:12:23 +00:00
Juergen Hoeller
05a3f3ad8d
avoid failures in case of manually registered null instance (SPR-7523)
2010-09-06 19:47:16 +00:00
Juergen Hoeller
e56cfb8173
consistent use of JDK 1.5's ThreadLocal.remove() over ThreadLocal.set(null), preventing leaks (SPR-7441)
2010-09-01 17:17:25 +00:00
Ben Hale
7730e76c06
Publishing license and notice files
2010-08-23 13:17:31 +00:00
Arjen Poutsma
dbfa049e1e
Prepping for 3.0.5
2010-08-19 11:04:04 +00:00
Juergen Hoeller
a9da123259
temporarily disabled constructor argument caching for converted values (SPR-7423)
2010-08-19 09:30:04 +00:00
Juergen Hoeller
9857ba077b
revised constructor argument caching for highly concurrent creation scenarios (follow-up to SPR-7423)
2010-08-18 09:08:55 +00:00
Chris Beams
9a088b8128
Document BeanFactoryPostProcessor implementation constraints (SPR-7466)
...
JavaDoc and reference docs now warn developers against interacting with
bean instances within BeanFactoryPostProcessor implementations in order
to avoid premature bean instantiation.
See SPR-7450 for an example of a third-party BFPP
(OAuthTokenLifecycleRegistryPostProcessor) prematurely instantiating
a FactoryBean instance, such that bean post-processing is bypassed
and autowired injection (via @Inject) never occurs.
2010-08-17 09:50:22 +00:00
Juergen Hoeller
01b65cd201
polishing
2010-08-12 18:49:13 +00:00
Juergen Hoeller
8a23ce917a
Spring's constructor resolution consistently finds non-public multi-arg constructors (SPR-7453)
2010-08-11 19:24:30 +00:00
Juergen Hoeller
b054ca4a48
reintroduced createInstance() template method in deprecated form (SPR-7428)
2010-08-07 11:16:46 +00:00