Keith Donald
2e128337be
restored resource conversion test
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3259 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Keith Donald
90fb3dcfe3
fixed failing test
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3258 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Juergen Hoeller
760d2a9e0a
enable JPATraversableResolver to introspect test domain classes
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3219 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Juergen Hoeller
193c2c4fb7
fixed decorated BeanDefinition condition for early type checking in AbstractBeanFactory (SPR-7006)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3206 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
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
16 years ago
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
16 years ago
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
16 years ago
Sam Brannen
677a3d2615
FooConfig, Foo, Bar, and BarFactory are now public static classes in order to avoid a bug with JDT/Spring IDE where the classes cannot be found in the XML application context.
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3117 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Juergen Hoeller
50c8258e26
fixed TypeDescriptor toString for MethodParameter annotations (SPR-6924)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3051 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Juergen Hoeller
8bd58f9e19
context-specific "conversionService" bean may refer to annotation-configured converter beans (SPR-6800)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2975 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Juergen Hoeller
0aea1fe59a
added PropertyPlaceholderConfigurer test
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2974 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Juergen Hoeller
6298f7bcdc
relaxed test conditions
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2961 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Juergen Hoeller
2f48d5f2ba
relaxed test conditions
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2959 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Juergen Hoeller
588e320284
canConvert checks Collection/Map element types as well (SPR-6564)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2954 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Costin Leau
ece44a3ff7
SPR-6794
...
+ fix test
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2917 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Juergen Hoeller
6325a81b7d
ApplicationListeners will get detected lazily as well (e.g. on @Bean's concrete result); inner bean ApplicationListeners will be invoked through their proxy (if any)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2909 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
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
16 years ago
Juergen Hoeller
6a41d6b2a0
BeanNameAutoProxyCreator detects alias matches for specified bean names as well (SPR-6774)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2880 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Juergen Hoeller
a7b4dd195f
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@2879 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Chris Beams
04bed0c1d7
RESOLVED - issue SPR-6779: imported @Configuration classes do not get enhanced and fail to satisfy scoping requirements
...
refactoring, polishing.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2877 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Chris Beams
7c0a31fb36
IN PROGRESS - issue SPR-6779: imported @Configuration classes do not get enhanced and fail to satisfy scoping requirements
...
All tests in ImportedConfigurationClassEnhancementTests now pass. The fix was simple - imported @Configuration class bean definitions were not getting marked with the attribute that indicates that they are indeed @Configuration class bean definitions. To make this happen, ConfigurationClassPostProcessor's protected checkConfigurationClassCandidate(beanDef) method is being called from within ConfigurationClassBeanDefinitionReader when imported @Configuration classes are being processed. This is quick and dirty, and the subsequent check-in will refactor the solution appropriately.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2876 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Chris Beams
b157c5dbad
Unit test cornering bug SPR-6779, 'imported @Configuration classes do not get enhanced and fail to satisfy scoping requirements'
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2875 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Juergen Hoeller
b33728c991
added test for expression re-evaluation
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2851 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
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
16 years ago
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
16 years ago
Chris Beams
58e1f08112
polishing
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2828 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Chris Beams
8be158bd0a
Resolved SPR-6602, relating to FactoryBean behavior in @Configuration classes. See issue and code comments for full details.
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2824 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Juergen Hoeller
951c70682b
MBeanClientInterceptor understands CompositeData/TabularData arrays (SPR-6548)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2805 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Mark Fisher
2429a08243
SPR-6670 @Scheduled now supports property placeholders for cron expressions.
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2799 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Mark Fisher
50c9dfe649
SPR-6669 @Scheduled may now be used as a meta-annotation
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2798 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
David Syer
efb1a30329
RESOLVED - issue SPR-6666: CronTrigger/CronSequenceGenerator fails to handle daylight saving timezone changes
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2797 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Juergen Hoeller
d6829ab28d
ApplicationListeners will only be executed once per event (even for scripted objects; SPR-6589)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2788 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Mark Fisher
17c01fae30
SPR-6644 The 'id' value from an 'executor' element in the task namespace is now used as the thread name prefix for the resulting ThreadPoolTaskExecutor instance.
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2772 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Chris Beams
2887b74448
Resolved SPR-6618. Restrictions were too tight on overloaded bean methods and were preventing it altogether. Overloading is now allowed, as long as there is no ambiguity at runtime which bean method should be invoked.
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2745 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Juergen Hoeller
5edc17473d
generic ApplicationListener event type gets detected through proxy as well
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2723 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
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
16 years ago
Keith Donald
b34a2ab777
TypeDescriptor.valueOf usage in favor of constants; TypedValue usage simplification
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2681 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Juergen Hoeller
b1dba5f5aa
BeanValidationPostProcessor runs in before-initialization phase by default (SPR-6565)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2678 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
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
16 years ago
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
16 years ago
Juergen Hoeller
18336e3732
introduced TypeDescriptor.OBJECT and TypeDescriptor.STRING
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2668 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Keith Donald
2dbe05aa24
long style formatting tests
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2650 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Juergen Hoeller
197c2d7ca2
MBeanExporter detects FactoryBean-exported resources independent from declaration order
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2643 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Juergen Hoeller
057acab1ab
SmartLifecycle retrieval fix, properly taking FactoryBeans into account (SPR-6545)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2637 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Juergen Hoeller
fa07470e40
polishing
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2613 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Chris Beams
5900cd6daa
Renamed tests for AnnotationConfig[Web]ApplicationContext; added tests for scan() and register() methods.
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2604 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Juergen Hoeller
1c5590cbab
SmartLifecycle beans will get auto-started on demand even if marked as lazy-init (SPR-6515)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2603 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Juergen Hoeller
aac72ddbed
SmartLifecycle beans will get auto-started on demand even if marked as lazy-init (SPR-6515)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2602 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Juergen Hoeller
3f78a1b561
fail when @DateTimeFormat is being used without JodaTime on the classpath (SPR-6508)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2596 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
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
16 years ago