Commit Graph

873 Commits

Author SHA1 Message Date
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
2010-03-31 15:21:48 +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 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 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
Mark Fisher 2afaf4870f updated commons-pool version in .classpath to match ivy config
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3148 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-23 21:44:52 +00:00
Mark Pollack 845001054a Change version of Hibernate Validator to 4.0.2 in pom.xml and eclipse .classpath to agree with version in ivy.xml
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3147 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-23 16:44:46 +00:00
Juergen Hoeller d609376c10 AopUtils.getTargetClass(...) never returns null (SPR-7011)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3136 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-22 18:31:13 +00:00
Juergen Hoeller 1d8ce7d5cf fixed double fixedField call for getFieldType (SPR-7019)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3134 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-22 15:08:57 +00:00
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
2010-03-19 12:39:34 +00:00
Juergen Hoeller 7b00d3d07d made CronSequenceGenerator public (SPR-6920)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3097 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-12 19:34:45 +00:00
David Syer 0c5a876ff2 RESOLVED - issue SPR-6955, SPR-6901 added DisposableBean to TaskExecutorFactoryBean
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3062 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-08 12:13:30 +00:00
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
2010-03-04 13:50:43 +00:00
Juergen Hoeller 2dfb983d92 "conversionService" bean gets ignored if not of type ConversionService (SPR-6916)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3050 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-04 11:27:09 +00:00
Costin Leau 9a5e75861d + improve template for spring-context so that the import-package is updated automatically
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3037 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-25 15:46:54 +00:00
Chris Beams 4a410d0466 Removed hard-coded local path from .core/.classpath; removed duplicate asm entry in .context/.classpath
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3024 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-22 01:55:38 +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
Juergen Hoeller 7a0d88b799 upgraded to Hibernate Validator 4.0.2 and Jackson 1.4.2
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3017 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-19 13:58:19 +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 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 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
2010-02-15 00:42:39 +00:00
Juergen Hoeller 0aea1fe59a added PropertyPlaceholderConfigurer test
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2974 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-15 00:22:06 +00:00
Juergen Hoeller ea753974d9 fixed rendering of select options for multi-list (SPR-6799)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2972 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-15 00:04:30 +00:00
Juergen Hoeller 6298f7bcdc relaxed test conditions
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2961 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-12 00:02:32 +00:00
Juergen Hoeller 2f48d5f2ba relaxed test conditions
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2959 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-11 23:15:15 +00:00
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
2010-02-11 12:23:57 +00:00
Juergen Hoeller 09d3d8b8fe made PersistenceAnnotationBeanPostProcessor's JNDI API references optional - for compatibility with Google App Engine (SPR-6679)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2953 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-11 11:36:33 +00:00
Juergen Hoeller 0760179df8 avoid double closing in case of shutdown hook (SPR-6793)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2941 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-10 13:49:51 +00:00
Juergen Hoeller 439b6f072c setAutoGrowNestedPaths throws an IllegalStateException if being called too late (SPR-6718)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2939 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-09 15:54:48 +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
Chris Beams f86e3bcfd2 Updated Eclipse .classpath to aspectj 1.6.8
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2920 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-04 13:45:14 +00:00
Juergen Hoeller 488060fbd1 ignore IllegalStateException when removing shutdown hook (SPR-6793)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2919 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-04 12:30:39 +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
Costin Leau ece44a3ff7 SPR-6794
+ fix test

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2917 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-04 11:33:58 +00:00
Costin Leau 48df1fd669 SPR-6794
+ added setter for encoding (in case the default UTF-8 is not enough)

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2915 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-04 10:13:04 +00:00
Costin Leau 0ade90451c + add explicit dependency on commons-pool to prevent version 1.3 from being used (since it contains a memory leak)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2914 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-04 10:05:54 +00:00
Costin Leau 14d2235034 SPR-6794
+ used UTF-8 as the implicit encoding for reading scripts

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2913 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-04 10:04:48 +00:00
Juergen Hoeller 7473330885 ApplicationListeners will reliably get invoked through their proxy (if any)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2911 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-03 23:52:56 +00:00
Juergen Hoeller 0ce0de3eab refined addApplicationListener to work any time during the refresh phase
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2910 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-03 23:09:42 +00:00
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
2010-02-03 22:54:59 +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 153ff751ab component-scan's scoped-proxy attribute applies to scope-annotated singleton beans as well (SPR-6683)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2894 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-01 16:30:21 +00:00
Juergen Hoeller d4ef342ff6 call processConfigBeanDefinitions lazily if postProcessBeanDefinitionRegistry hasn't been called
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2886 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-31 16:10:11 +00:00
Juergen Hoeller 044a329629 refined DefaultLifecycleProcessor's start/stop logging and stop exception handling (SPR-6769, SPR-6770)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2883 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-31 15:52:13 +00:00
Juergen Hoeller 907cee1539 JndiObjectFactoryBean explicitly only chooses public interfaces as default proxy interfaces (SPR-5869)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2882 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-31 14:59:27 +00:00
Juergen Hoeller 439ab024e2 fixed cron example (SPR-6772)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2881 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-31 14:17:44 +00:00
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
2010-01-31 14:12:48 +00:00
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
2010-01-31 14:05:28 +00:00
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
2010-01-29 23:31:53 +00:00
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
2010-01-29 20:55:03 +00:00
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
2010-01-29 19:48:25 +00:00
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
2010-01-22 16:03:17 +00:00
Juergen Hoeller 61c1b4fc9e accept Set<?> instead of Set<Object> (SPR-6742)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2850 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-22 10:03:13 +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 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
Chris Beams 58e1f08112 polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2828 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-18 15:45:10 +00:00
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
2010-01-18 08:54:45 +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 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
2010-01-12 15:10:07 +00:00
Juergen Hoeller 5dcec02f6d mark spring-aop as required for spring-context (SPR-6578)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2802 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-12 12:49:16 +00:00
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
2010-01-11 20:20:33 +00:00
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
2010-01-11 18:36:48 +00:00
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
2010-01-11 16:05:12 +00:00
Juergen Hoeller ff228e3977 fixed @Scheduled processing to kick in once only even in an ApplicationContext hierarchy (SPR-6656)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2794 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-08 16:00:07 +00:00
Juergen Hoeller 8225c29b39 polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2792 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-07 23:29:13 +00:00
Juergen Hoeller 750529de99 replaced references to "spring-agent.jar" with "org.springframework.instrument.jar" (SPR-6597)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2790 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-07 13:32:42 +00:00
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
2010-01-07 12:58:18 +00:00
Juergen Hoeller 97928d1186 polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2780 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-06 22:24:30 +00:00
Juergen Hoeller a5c05d7f9f allow for overriding specific DefaultLifecycleProcessor hooks (SPR-6617)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2777 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-06 19:48:48 +00:00
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
2010-01-05 22:27:47 +00:00
Juergen Hoeller 195667d8eb fixed retriever cache putting
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2759 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-05 14:46:15 +00:00
Juergen Hoeller eadbf7a057 reset retriever cache when adding/removing listeners (SPR-6624)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2751 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-05 13:09:03 +00:00
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
2009-12-30 19:42:12 +00:00
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
2009-12-28 18:57:15 +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 53a71fe962 removed hard ScopedProxyUtils dependency in ConfigurationClassEnhancer
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2686 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-15 20:45:45 +00:00
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
2009-12-15 19:41:52 +00:00
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
2009-12-15 18:04:44 +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 95d1eccd65 refined PropertyEditor exposure for the ConversionService case
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2670 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-15 11:34:19 +00:00
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
2009-12-15 10:21:16 +00:00
Juergen Hoeller d39acb224e only try to convert to String if canConvert returns true
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2667 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-15 09:59:11 +00:00
Chris Beams 45ec0d2086 JavaDoc on AnnotationConfigApplicationContext#scan(String...)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2666 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-15 07:24:12 +00:00
Juergen Hoeller f22aebd590 added special handling of String array values for required fields, e.g. for WebRequestDataBinder (SPR-6552)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2660 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-14 21:42:17 +00:00
Juergen Hoeller 18ec90aff9 revised default converters; renamed ConverterRegistry's addGenericConverter to addConverter
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2658 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-14 21:14:26 +00:00
Costin Leau e77354546e SPR-5764
+ improved JBoss LTW by using the proper class loader for loading reflection types

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2657 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-14 18:56:16 +00:00
Keith Donald 2dbe05aa24 long style formatting tests
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2650 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-14 02:02:09 +00:00
Juergen Hoeller 9efda7f94b @ManagedBean coverage in javadoc
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2648 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-14 00:58:04 +00:00
Juergen Hoeller f7b6f34ddc support @ManagedBean for name retrieval in AnnotationBeanNameGenerator as well; support @ManagedBean and @Named for direct use only
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2647 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-14 00:53:56 +00:00
Juergen Hoeller 9fe730018b updated javadoc (SPR-6546)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2645 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-13 23:45:16 +00:00
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
2009-12-13 23:28:07 +00:00
Juergen Hoeller d4fe543bf5 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@2642 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-13 23:24:43 +00:00
Juergen Hoeller a03c3e30a1 fixed non-Lifecycle-FactoryBean with exposed Lifecycle object case (SPR-6545)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2639 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-13 15:47:52 +00:00
Juergen Hoeller eb07dd4636 polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2638 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-13 15:30:52 +00:00
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
2009-12-13 15:28:34 +00:00
Juergen Hoeller 38ef760372 detect Lifecycle-implementing FactoryBeans as well (SPR-6545)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2636 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-13 14:08:08 +00:00
Juergen Hoeller 70cfa58b28 fixed JSR-303 Validator delegation code (SPR-6557)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2634 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-13 12:31:34 +00:00
Juergen Hoeller ee442d7808 component scanning autodetects the new EE 6 "javax.annotation.ManagedBean" stereotype
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2621 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-10 20:40:02 +00:00
Juergen Hoeller 4625700fbc autodetect GlassFish V3 as well (SPR-6152)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2620 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-10 18:42:59 +00:00
Juergen Hoeller fa07470e40 polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2613 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-09 17:54:02 +00:00
Juergen Hoeller f1151210f1 added "converters" property to FormattingConversionServiceFactoryBean as well
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2612 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-09 17:53:25 +00:00
Juergen Hoeller 7a8d8b7c98 removed unnecessary logging
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2606 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-09 14:59:44 +00:00
Costin Leau f1190d4ee9 SPR-6492
+ upgrade to JRuby 1.4.0

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2605 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-09 10:57:54 +00:00
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
2009-12-08 15:29:27 +00:00
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
2009-12-08 13:27:15 +00:00
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
2009-12-08 12:17:01 +00:00
Juergen Hoeller 743c1894ec use varargs for scan method as well
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2601 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-08 10:17:27 +00:00
Costin Leau d9d46d03b2 SPR-6492
EBR-551
+ seems I spoke too soon - JRuby is still not in the EBR

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2600 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-08 09:19:32 +00:00
Costin Leau affe698425 SPR-6492
+ upgrade to JRuby 1.4.0

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2599 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-08 08:57:48 +00:00
Juergen Hoeller 08828377c3 polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2597 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-07 20:33:33 +00:00
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
2009-12-07 20:33:03 +00:00
Arjen Poutsma 7a6fb39dd4 SPR-6529 - DateTimeFormatAnnotationFormatterFactory calls String.isEmpty(), which exists only in JDK1.6+
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2592 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-07 14:41:30 +00:00
David Syer 2bad74c238 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
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2579 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-04 18:25:31 +00:00
David Syer 1380a7e322 SPR-5327: tidy up aopalliance dependency
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2572 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-04 11:33:56 +00:00
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
2009-12-04 00:34:40 +00:00
Juergen Hoeller 9970eda08a lenient property name casing, beyond standard JavaBeans conventions (SPR-6491)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2568 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-03 23:34:37 +00:00
Juergen Hoeller 3f4e30193b do not register default formatters for Date and Calendar (requiring explicit use of @DateTimeFormat there)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2567 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-03 23:26:08 +00:00
Juergen Hoeller e0915ad9c6 do not register a default NumberFormatter (SPR-6490)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2566 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-03 22:41:44 +00:00
Juergen Hoeller e7b5fc2631 added since tag
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2565 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-03 16:30:51 +00:00
Juergen Hoeller 5560f45f35 fixed dependencies
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2562 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-03 13:15:33 +00:00
Juergen Hoeller f5cc78e6a0 JSR-303 SpringValidatorAdapter uses field name as first argument (analogous to bind errors; SPR-6407)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2555 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-01 02:25:48 +00:00
David Syer 9b7928b808 SPR-5327: tidy up Maven dependencies (keeping commons-logging)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2548 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-30 12:56:25 +00:00
Juergen Hoeller 65df1c6f4c constructor arguments can be overridden by name in child bean definitions (SPR-6463)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2546 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-30 12:17:28 +00:00
Keith Donald 61ad147135 javadoc polishing--named Parser String arg name to 'text'
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2540 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-28 21:16:01 +00:00
Mark Fisher a4ade65348 Added tests for the DefaultLifecycleProcessor and a custom "lifecycleProcessor" bean.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2537 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-27 20:38:43 +00:00
Mark Fisher 6ab737cc87 SPR-5507 When determining start/stop order, the DefaultLifecycleProcessor checks for the new Phased interface rather than SmartLifecycle now.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2534 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-27 17:30:35 +00:00
Mark Fisher afa4807f58 SPR-5507 Factored out the Phased interface.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2532 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-27 15:59:12 +00:00
Keith Donald e0cd89a139 polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2528 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-27 04:31:09 +00:00
Juergen Hoeller 00e6745d26 fixed tests
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2527 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-27 02:15:48 +00:00
Juergen Hoeller 5f212a34e6 FormatterRegistry extends ConverterRegistry now; FormattingConversionService extends GenericConversionService
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2526 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-27 01:58:31 +00:00
Juergen Hoeller c02717aec6 polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2525 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-27 01:49:18 +00:00
Juergen Hoeller 6dd447bdbc clarified double role of id property
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2524 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-27 01:45:53 +00:00
Juergen Hoeller 4a60c50104 updated to Groovy 1.6.5
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2521 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-27 01:37:43 +00:00
David Syer 6deff08db2 RESOLVED - issue SPR-6444: TaskExecutor not initialized in task namespace
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2508 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-25 13:18:31 +00:00
Juergen Hoeller d0790eca4d added configurable "autoGrowNestedPaths" property to DataBinder (SPR-6430)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2505 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-25 00:17:29 +00:00
Juergen Hoeller 191bbd909b fixed LifecycleProcessor lookup in a Spring Dynamic Modules context (SPR-6356); moved ConversionService lookup to prepareBeanFactory
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2502 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-24 23:46:44 +00:00
Mark Fisher 8e92336f2b SPR-5507 The 'shutdownOrder' property of SmartLifecycle has been renamed 'phase'. The order no longer applies to shutdown only; now startup order is determined by the phase value as well. Components start in ascending order and stop in descending order.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2501 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-24 16:07:23 +00:00
Costin Leau 26d4c0df55 + update pom
SPR-6333
SPR-6394

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2498 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-24 09:33:39 +00:00
David Syer d28fd0a46c Change groovy dependency to 1.6.3 to match ANT/ivy
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2497 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-24 09:24:03 +00:00
Keith Donald 71c88d39bd additional javadoc and tests
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2491 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-21 18:30:34 +00:00
Juergen Hoeller 6218b0a869 extended CGLIB version range (SPR-6400)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2486 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-21 00:30:50 +00:00
Mark Fisher 4fdef7cda1 SPR-6368 The parser for the 'executor' element in the task namespace now creates a FactoryBean so that the pool-size range can be configured after property placeholder resolution when necessary.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2485 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-20 22:21:45 +00:00
Costin Leau 04da2f250f SPR-6401
+ increase cglib range in OSGi manifest

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2479 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-20 20:23:21 +00:00
Costin Leau b37725c6ad SPR-6333
SPR-6393
+ fix invalid static field

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2478 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-20 20:04:13 +00:00
Mark Fisher 057d31b338 SPR-6354 DefaultLifecycleProcessor no longer waits for the shutdown of SmartLifecycle beans that are not actually running.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2477 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-20 18:09:14 +00:00
Costin Leau 8b085ec84a SPR-6394
SPR-6333
+ eliminated compile-time dependency on GlassFish custom API for the GlassFish LTW
+ added support for GlassFish 3

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2476 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-20 17:48:13 +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
David Syer f8fcb83af5 RESOLVED - issue SPR-6398: Document attributes in @Scheduled and friends
http://jira.springframework.org/browse/SPR-6398

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2469 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-20 12:36:02 +00:00
Costin Leau fcdee85d54 SPR-6333
SPR-6393
+ fixed the tests

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2465 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-19 23:01:36 +00:00