Juergen Hoeller
d957f8c74c
improved getBean(Class) javadoc
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3194 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-30 15:53:32 +00:00
Juergen Hoeller
ab15578566
AbstractInterceptorDrivenBeanDefinitionDecorator exposes decorated BeanDefinition for early type checking in AbstractBeanFactory (SPR-7006)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3192 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-30 15:40:47 +00:00
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
Juergen Hoeller
45c82a6197
fixed collection element conversion using ConversionService (SPR-6950)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3176 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-25 15:02:19 +00:00
Juergen Hoeller
d434a950ba
fixed collection element conversion using ConversionService (SPR-6950)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3173 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-25 11:53:41 +00:00
Juergen Hoeller
8c437a8214
fixed DataBinder's conversion error handling for direct field access with ConversionService (SPR-6953)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3163 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-24 17:40:45 +00:00
Juergen Hoeller
74705a7aea
revised BeanTypeDescriptor into core PropertyTypeDescriptor; consider method annotations for return type (SPR-6979)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3162 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-24 16:27:33 +00:00
Chris Beams
fa0c22908b
updated JavaDoc regarding short-circuiting the BeanPostProcessor chain when returning null from BPP methods (SPR-6926)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3157 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-24 10:52:10 +00:00
Juergen Hoeller
f307cf2db6
prevent findEditorByConvention AccessControlException on Google App Engine (SEC-1434)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3156 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-24 10:39:40 +00:00
Juergen Hoeller
639f4581e8
polishing
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3155 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-24 10:35:50 +00:00
Juergen Hoeller
e62e56a1a4
BeanPostProcessors are allowed to return a null bean value in the middle of the chain (SPR-6926)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3154 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-24 10:34:21 +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
0cf5372475
do not insist on BeanDefinition presence for @Value resolution (for use in unit tests; SPR-6918)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3111 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-16 23:47:40 +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
f6a13bac72
changed doGetBean signature back to protected (SPR-6957)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3074 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-10 13:38:46 +00:00
Juergen Hoeller
8c7221ce32
do not call isCurrentlyInCreation with null argument (in order to meet newly enforced assertions within the BeanFactory)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3059 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-05 10:49:24 +00:00
Juergen Hoeller
4a733513c1
added bean name assertions
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3058 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-04 22:36:35 +00:00
Juergen Hoeller
cbb2ee2048
polishing
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3053 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-04 13:58:02 +00:00
Juergen Hoeller
b31b943209
widened AbstractFactoryBean's "getObjectType" signature to return any Class as well (SPR-6872)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3030 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-23 13:00:12 +00:00
David Syer
25ef81476d
Update Central POMs to 3.0.2
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3022 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-21 15:32:18 +00:00
Costin Leau
4be6044db9
+ make use or property placeholders inside template.mf
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3014 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-19 09:43:22 +00:00
Juergen Hoeller
8e30cd98fd
do not ever consider Object as a candidate type for autowiring by type (SPR-6600)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3001 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-18 00:04:08 +00:00
Juergen Hoeller
f96ccfa39e
BeanDefinitionReader and ClassPath/FileSystemXmlApplicationContext use varargs where possible (SPR-6849)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2988 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-16 11:59:29 +00:00
Juergen Hoeller
e63911b373
improved "no matching factory method found" exception message (SPR-6837)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2978 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-15 13:01:46 +00:00
Juergen Hoeller
bbdbb86f08
generified PagedListHolded (SPR-6825)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2960 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-11 23:24:45 +00:00
Costin Leau
b443d3ad7a
SPR-5246
...
+ clarify order of annotation and XML injection
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2934 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-09 11:17:07 +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
Sam Brannen
eefe27fd95
Removed unused import.
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2931 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-07 15:57:57 +00:00
Costin Leau
5e677feda0
+ upgrade to AspectJ 1.6.8
...
+ externalize some of the jar versions
+ align the versions of some dependencies between pom.xml and ivy.xml
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2918 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-04 11:46:21 +00:00
Juergen Hoeller
a983d181aa
fixed MBeanExporter regression: do not try to expose abstract beans (SPR-6784)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2896 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-01 17:56:03 +00:00
Juergen Hoeller
ac1d678554
throw NotSerializableException if no serialization id is available
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2892 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-01 14:52:43 +00:00
Juergen Hoeller
6ad560d205
polishing
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2891 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-01 14:51:54 +00:00
Juergen Hoeller
7553d32b24
widened FactoryBean's "getObjectType" signature to return any Class<?> (SPR-6692)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2885 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-31 16:01:14 +00:00
Juergen Hoeller
735a7d5d75
introduced BeanDefinitionRegistryPostProcessor extension to BeanFactoryPostProcessor; @Configuration classes support definition of BeanFactoryPostProcessor beans as well (SPR-6455, SPR-6611)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2884 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-31 15:58:27 +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
57211e124f
changed exception wording from "recursive" to "cyclic" (SPR-6755)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2852 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-22 19:10:19 +00:00
Juergen Hoeller
0749baa867
fixed getPropertyTypeDescriptor to work for nested indexed property as well as for array property (SPR-6710)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2843 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-20 15:31:20 +00:00
Juergen Hoeller
bdca327c35
fixed getPropertyTypeDescriptor to work for nested indexed property as well (SPR-6710)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2842 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-20 15:10:22 +00:00
Juergen Hoeller
3606d9c9e4
added default PropertyEditor for java.util.UUID (SPR-6696)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2840 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-20 09:32:03 +00:00
Juergen Hoeller
4aa17d8f22
collect exceptions across all constructors that have been tried (SPR-6720)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2839 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-20 09:29:50 +00:00
Juergen Hoeller
b35b9fdc5c
fixed BeanPostProcessor invocation for null bean (SPR-6700)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2832 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-18 18:51:28 +00:00
David Syer
e6d2f9428c
SPR-6678: fix poms for 3.0.1
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2809 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-13 11:07:08 +00:00
Juergen Hoeller
a9a3fe28d0
fixed getBeansWithAnnotation to ignore beans with non-determinable type (SPR-6579)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2718 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-23 19:11:19 +00:00
Juergen Hoeller
55557b778f
use TypeDescriptor.forObject instead of constructor; enforce use of TypeDescriptor.valueOf through making the constructor private
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2683 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-15 20:18:31 +00:00
Juergen Hoeller
5add86419d
catch ConversionException and ConvertedNotFoundException in BeanWrapper's convertIfNecessary as well, in order to support constructor resolution (SPR-6563)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2672 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-15 12:53:36 +00:00
Juergen Hoeller
246bb34e08
introspect element type in case of incoming Collection/Map in order to not accidentally say canConvert=true (SPR-6564)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2671 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-15 12:36:22 +00:00
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