Commit Graph

719 Commits

Author SHA1 Message Date
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