Chris Beams
351e72b6e2
incorrectly invoked factory methods now result in exceptions with more descriptive messages (SPR-5475)
2010-03-26 12:05:36 +00:00
Juergen Hoeller
cbed1c1b4b
fixed collection element conversion using ConversionService (SPR-6950)
2010-03-25 15:02:19 +00:00
Juergen Hoeller
d50881d82b
fixed collection element conversion using ConversionService (SPR-6950)
2010-03-25 11:53:41 +00:00
Juergen Hoeller
53b6e1c1b0
fixed DataBinder's conversion error handling for direct field access with ConversionService (SPR-6953)
2010-03-24 17:40:45 +00:00
Juergen Hoeller
65b0a8fcb2
revised BeanTypeDescriptor into core PropertyTypeDescriptor; consider method annotations for return type (SPR-6979)
2010-03-24 16:27:33 +00:00
Chris Beams
6118d67321
updated JavaDoc regarding short-circuiting the BeanPostProcessor chain when returning null from BPP methods (SPR-6926)
2010-03-24 10:52:10 +00:00
Juergen Hoeller
cbca6e1acb
prevent findEditorByConvention AccessControlException on Google App Engine (SEC-1434)
2010-03-24 10:39:40 +00:00
Juergen Hoeller
2c2cf32b8a
polishing
2010-03-24 10:35:50 +00:00
Juergen Hoeller
89755542da
BeanPostProcessors are allowed to return a null bean value in the middle of the chain (SPR-6926)
2010-03-24 10:34:21 +00:00
Chris Beams
c13e5f9f5b
SPR-7009, SPR-6972: backed out unintentionally committed tests
2010-03-23 15:29:35 +00:00
Chris Beams
c38c09bc35
SPR-6972: removed import
2010-03-23 12:06:24 +00:00
Chris Beams
77bb68b967
SPR-6972: failed attempt to reproduce issue
2010-03-23 12:06:16 +00:00
Juergen Hoeller
b8c0e153e3
do not insist on BeanDefinition presence for @Value resolution (for use in unit tests; SPR-6918)
2010-03-16 23:47:40 +00:00
Juergen Hoeller
f30b0a86f7
autowire="byType" ignores parameter name when choosing a primary bean, as defined (SPR-6917)
2010-03-10 13:46:31 +00:00
Juergen Hoeller
95ad7168bf
changed doGetBean signature back to protected (SPR-6957)
2010-03-10 13:38:46 +00:00
Juergen Hoeller
54d0346084
do not call isCurrentlyInCreation with null argument (in order to meet newly enforced assertions within the BeanFactory)
2010-03-05 10:49:24 +00:00
Juergen Hoeller
4f926c82bf
added bean name assertions
2010-03-04 22:36:35 +00:00
Juergen Hoeller
77f8b070cd
polishing
2010-03-04 13:58:02 +00:00
Juergen Hoeller
12b30843c5
widened AbstractFactoryBean's "getObjectType" signature to return any Class as well (SPR-6872)
2010-02-23 13:00:12 +00:00
David Syer
1a351db6e0
Update Central POMs to 3.0.2
2010-02-21 15:32:18 +00:00
Costin Leau
8d0bb00188
+ make use or property placeholders inside template.mf
2010-02-19 09:43:22 +00:00
Juergen Hoeller
572abbcff9
do not ever consider Object as a candidate type for autowiring by type (SPR-6600)
2010-02-18 00:04:08 +00:00
Juergen Hoeller
60ac239091
BeanDefinitionReader and ClassPath/FileSystemXmlApplicationContext use varargs where possible (SPR-6849)
2010-02-16 11:59:29 +00:00
Juergen Hoeller
18bd4a8337
improved "no matching factory method found" exception message (SPR-6837)
2010-02-15 13:01:46 +00:00
Juergen Hoeller
5f781e6266
generified PagedListHolded (SPR-6825)
2010-02-11 23:24:45 +00:00
Costin Leau
a9386f5c79
SPR-5246
...
+ clarify order of annotation and XML injection
2010-02-09 11:17:07 +00:00
Juergen Hoeller
6c0d934b92
do not try to convert read-only Collections/Maps (SPR-6808)
2010-02-08 12:29:21 +00:00
Sam Brannen
81649d5c3b
Removed unused import.
2010-02-07 15:57:57 +00:00
Costin Leau
0fd4a45070
+ upgrade to AspectJ 1.6.8
...
+ externalize some of the jar versions
+ align the versions of some dependencies between pom.xml and ivy.xml
2010-02-04 11:46:21 +00:00
Juergen Hoeller
e3cdabfaac
fixed MBeanExporter regression: do not try to expose abstract beans (SPR-6784)
2010-02-01 17:56:03 +00:00
Juergen Hoeller
1dbb64580c
throw NotSerializableException if no serialization id is available
2010-02-01 14:52:43 +00:00
Juergen Hoeller
5f5e7c3262
polishing
2010-02-01 14:51:54 +00:00
Juergen Hoeller
b53ccb3807
widened FactoryBean's "getObjectType" signature to return any Class<?> (SPR-6692)
2010-01-31 16:01:14 +00:00
Juergen Hoeller
8ab9da4461
introduced BeanDefinitionRegistryPostProcessor extension to BeanFactoryPostProcessor; @Configuration classes support definition of BeanFactoryPostProcessor beans as well (SPR-6455, SPR-6611)
2010-01-31 15:58:27 +00:00
Costin Leau
1bbe93e535
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
2010-01-27 12:25:04 +00:00
Juergen Hoeller
0f75210408
changed exception wording from "recursive" to "cyclic" (SPR-6755)
2010-01-22 19:10:19 +00:00
Juergen Hoeller
081d81e5b0
fixed getPropertyTypeDescriptor to work for nested indexed property as well as for array property (SPR-6710)
2010-01-20 15:31:20 +00:00
Juergen Hoeller
5abd3b99b9
fixed getPropertyTypeDescriptor to work for nested indexed property as well (SPR-6710)
2010-01-20 15:10:22 +00:00
Juergen Hoeller
8bf2e2459e
added default PropertyEditor for java.util.UUID (SPR-6696)
2010-01-20 09:32:03 +00:00
Juergen Hoeller
45448463b8
collect exceptions across all constructors that have been tried (SPR-6720)
2010-01-20 09:29:50 +00:00
Juergen Hoeller
95c695eb2f
fixed BeanPostProcessor invocation for null bean (SPR-6700)
2010-01-18 18:51:28 +00:00
David Syer
b077d5ba97
SPR-6678: fix poms for 3.0.1
2010-01-13 11:07:08 +00:00
Juergen Hoeller
bddb38d787
fixed getBeansWithAnnotation to ignore beans with non-determinable type (SPR-6579)
2009-12-23 19:11:19 +00:00
Juergen Hoeller
dc99df2972
use TypeDescriptor.forObject instead of constructor; enforce use of TypeDescriptor.valueOf through making the constructor private
2009-12-15 20:18:31 +00:00
Juergen Hoeller
1c33206042
catch ConversionException and ConvertedNotFoundException in BeanWrapper's convertIfNecessary as well, in order to support constructor resolution (SPR-6563)
2009-12-15 12:53:36 +00:00
Juergen Hoeller
2153b2fbd5
introspect element type in case of incoming Collection/Map in order to not accidentally say canConvert=true (SPR-6564)
2009-12-15 12:36:22 +00:00
Juergen Hoeller
d7a1630381
removed getBeansWithAnnotation(Class,boolean,boolean) method from ListableBeanFactory; reimplemented getBeansWithAnnotation(Class) to avoid use of getBeanNamesForType(Object.class)
2009-12-13 23:23:34 +00:00
Juergen Hoeller
929665d284
fixed accidental breakage in bean class resolution with tempClassLoader
2009-12-13 16:07:03 +00:00
Juergen Hoeller
35354ad520
polishing
2009-12-13 15:30:52 +00:00
Juergen Hoeller
5f9b444319
bean properties of type enum array/collection can be populated with comma-separated String (SPR-6547)
2009-12-13 13:21:30 +00:00
Juergen Hoeller
ad29a2376d
PropertyPlaceholderConfigurer is compatible with Spring 2.5 extensions such as GigaSpaces again (SPR-6514)
2009-12-09 16:09:12 +00:00
Juergen Hoeller
61f23710eb
relaxed warning about ambiguous setters to only be logged in case of actual write access (SPR-6399)
2009-12-07 18:57:32 +00:00
Juergen Hoeller
09a55c8ede
import works with relative resources in other classpath roots again (SPR-6493)
2009-12-07 15:16:36 +00:00
Juergen Hoeller
abf6a7ee18
made parse and decorate non-final (SPR-6526)
2009-12-07 09:16:00 +00:00
David Syer
1202f67cc8
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
2009-12-04 18:25:31 +00:00
Juergen Hoeller
e161c93f8d
full support for formatters on array/collection elements (SPR-6504)
2009-12-04 00:34:40 +00:00
Juergen Hoeller
388edd7aaa
lenient property name casing, beyond standard JavaBeans conventions (SPR-6491)
2009-12-03 23:34:37 +00:00
Juergen Hoeller
666700f7f3
constructor arguments can be overridden by name in child bean definitions (SPR-6463)
2009-11-30 12:17:28 +00:00
Juergen Hoeller
d54cf0ca37
polishing
2009-11-27 01:43:34 +00:00
Juergen Hoeller
ac490114ae
propagate full TypeDescriptor for field-level conversion as well
2009-11-27 01:43:14 +00:00
Juergen Hoeller
bb97ca32c4
added configurable "autoGrowNestedPaths" property to DataBinder (SPR-6430)
2009-11-25 00:17:29 +00:00
Juergen Hoeller
602118f1a3
extended CGLIB version range (SPR-6400)
2009-11-21 00:30:50 +00:00
Costin Leau
502c0e9055
SPR-6401
...
+ increase cglib range in OSGi manifest
2009-11-20 20:23:21 +00:00
Keith Donald
692b1ef636
found hotspot; added ConverisonServiceFactoryBean
2009-11-20 14:43:12 +00:00
Juergen Hoeller
4024b67926
removed formal deprecation from addPropertyValue; just hinting at add now
2009-11-20 14:28:38 +00:00
Juergen Hoeller
3b9605bc57
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
2009-11-19 23:49:10 +00:00
Juergen Hoeller
46cd083976
added chaining-capable "add" method to MutablePropertyValues
2009-11-19 22:30:35 +00:00
Juergen Hoeller
b41e3956bc
revised scope inheritance: default scope is "" (empty String) now; consistent isPrototype checks
2009-11-19 18:32:10 +00:00
Juergen Hoeller
ee5330801d
BeanDefinitions return isSingleton()=true by default again (for CXF compatibility)
2009-11-19 16:40:06 +00:00
Keith Donald
d85dc01e28
moved generic converter to spi; added entity converter; removed various service impls in favor of service factory
2009-11-19 09:10:51 +00:00
David Syer
66939ded0f
RESOLVED - issue SPR-6366: Cannot import bean definitions using classpath*: resource location
...
http://jira.springframework.org/browse/SPR-6366
2009-11-17 09:53:10 +00:00
Keith Donald
aac9107f6b
SPR-6350
2009-11-14 05:44:46 +00:00
Juergen Hoeller
a6bba67bca
added setValidating to XmlBeanDefinitionReader itself as well (SPR-6336)
2009-11-12 16:35:29 +00:00
Juergen Hoeller
5d772554ae
report error in case of constructor-arg index ambiguity (SPR-6329)
2009-11-12 16:22:42 +00:00
Juergen Hoeller
c495cbb1bf
MergedBeanDefinitionPostProcessors apply after all other post-processors (for @PostConstruct to be invoked after other BPPs; SPR-6066)
2009-11-12 02:30:12 +00:00
Juergen Hoeller
0832334648
polishing
2009-11-12 02:11:12 +00:00
Juergen Hoeller
a884a407aa
child bean definition's scope attribute can be inherited from parent bean definition now (SPR-3542)
2009-11-12 02:10:59 +00:00
Juergen Hoeller
fcaf692225
MergedBeanDefinitionPostProcessors apply after all other post-processors (for @PostConstruct to be invoked after other BPPs; SPR-6066)
2009-11-12 02:10:44 +00:00
Juergen Hoeller
d0b6891275
child bean definition's scope attribute can be inherited from parent bean definition now (SPR-3542)
2009-11-12 00:09:05 +00:00
Juergen Hoeller
4a25e2dde0
log a warning in case of ambiguous setter methods (SPR-4931)
2009-11-11 23:27:34 +00:00
Juergen Hoeller
7a10b7530e
improved context shown for non-qualifying dependency (SPR-5912)
2009-11-11 21:44:36 +00:00
Juergen Hoeller
a805819360
introduced populateDefaults template method (SPR-6010)
2009-11-11 19:47:31 +00:00
Juergen Hoeller
022b8b4d1f
allow multiple tool:exports entries
2009-11-11 19:42:12 +00:00
Juergen Hoeller
5aefb2ce77
refined javadoc (SPR-5789)
2009-11-11 19:41:13 +00:00
Costin Leau
bcc6413ef7
SPR-5762
...
+ allow unknown URL protocols to be used with import directive
2009-11-09 15:59:08 +00:00
Arjen Poutsma
7ec9f1506a
SPR-6005 - org.springframework.beans.propertyeditors.URIEditor does double escaping for % signes for URIs that contain a schema
2009-11-09 09:15:49 +00:00
David Syer
092a25d0d8
SPR-4783: missing commit for bean def parser (duh)
2009-10-27 18:03:38 +00:00
David Syer
4be237dd84
RESOLVED - issue SPR-6195
2009-10-27 13:41:22 +00:00
Juergen Hoeller
8a09c8e7da
reworked ConfigurationClass(Web)ApplicationContext into AnnotationConfig(Web)ApplicationContext; revised BeansException signatures
2009-10-23 17:46:16 +00:00
Juergen Hoeller
87b2f23692
updated version ranges for javax.el and javax.inject
2009-10-23 17:26:12 +00:00
Juergen Hoeller
cf580f024a
added first cut of getBean(Class) lookup method
2009-10-20 19:52:30 +00:00
Juergen Hoeller
94533976d0
full compliance with the JSR-330 TCK
2009-10-20 18:18:25 +00:00
Keith Donald
e4f50f5b73
SPR-6245 bean wrapper copy constructor not copying all state
2009-10-19 01:06:44 +00:00
Sam Brannen
c686035773
Updated Eclipse classpath regarding javax.inject and javax.validation.
2009-10-16 10:16:25 +00:00
Juergen Hoeller
e99cda3739
updated to final versions of JSR-330 and JSR-303 APIs
2009-10-15 14:31:41 +00:00
Juergen Hoeller
11d987009a
revised destroy method lookup after deserialization (avoiding NPE in case of default-destroy-method; SPR-6211)
2009-10-15 10:33:05 +00:00
Keith Donald
dc076ee6fe
fixed failing tests
2009-10-14 20:45:53 +00:00
Juergen Hoeller
b2129577b9
polishing
2009-10-13 22:48:25 +00:00
Juergen Hoeller
3331f16ef7
revised RootBeanDefinition constructors
2009-10-13 21:39:27 +00:00
Juergen Hoeller
b4ffdcdf18
polishing
2009-10-13 20:59:10 +00:00