Commit Graph

409 Commits

Author SHA1 Message Date
Juergen Hoeller 0708205690 fixed regression: looking for annotation on original bean class as well, not just on exposed bean type (SPR-5981)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1988 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-24 14:59:26 +00:00
Juergen Hoeller 504db8f514 factored out common resolveTypeArgument(s) method to GenericTypeResolver
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1985 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-24 12:51:52 +00:00
Juergen Hoeller a709d5ffce detect @Bean methods on registered plain bean classes as well (SPR-5795)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1984 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-24 10:45:56 +00:00
Juergen Hoeller 732f682877 polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1983 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-24 10:21:40 +00:00
Juergen Hoeller 4a95222c98 SPR-6094: PostConstruct now processed top-down (base class first); @PreDestroy processed bottom-up (subclass first)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1977 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-23 20:53:21 +00:00
Mark Fisher 3823e25d1f SPR-6142 Moved ErrorHandler strategy interface to the org.springframework.util package so that it can be used by MessageListener containers in addition to TaskSchedulers.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1964 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-23 00:44:58 +00:00
Keith Donald 1c1d043fc8 generic converter revising
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1947 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-21 05:14:14 +00:00
Juergen Hoeller fd6037099c specified excluded names matched against unprefixed FactoryBean names as well (SPR-5926)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1945 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-20 22:22:35 +00:00
Keith Donald 4342f50946 generic converter updates
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1933 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-18 20:08:45 +00:00
Juergen Hoeller 472af43b0e polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1928 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-18 14:07:19 +00:00
Juergen Hoeller e8a9ef9bcf consistent loading of optional classes
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1926 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-18 14:01:39 +00:00
Keith Donald 615834c23d updated formatter conversion service adapter to work with type descriptor
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1913 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-17 19:48:55 +00:00
Keith Donald 65ca2bba6e Converter system implementation cleanup and tidying; wip
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1911 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-17 19:24:07 +00:00
Juergen Hoeller 5713ee318c consistently use varargs signature
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1907 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-17 10:24:56 +00:00
Juergen Hoeller 7bad0343d9 adapted to Converter signature change
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1906 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-17 10:24:08 +00:00
Juergen Hoeller 7fbf1cf583 avoid caching for expression results even when specified as TypedStringValue (SPR-6115)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1905 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-17 10:04:36 +00:00
Keith Donald 7e43aaec3e Mapper and SpelMapper
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1902 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-16 15:40:11 +00:00
Rob Harrop e46f8c044a [SPR-5859] @ManagedOperation can now be used on getters/setters
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1899 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-16 09:25:48 +00:00
Juergen Hoeller e94bf69c1a @Scope annotations not sufficient for scanning anymore
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1895 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-15 12:36:45 +00:00
Juergen Hoeller a65d974b14 initial JSR-330 injection support
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1894 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-15 12:00:55 +00:00
Juergen Hoeller 44c7ef0d16 revised DefaultBindingErrorProcessor to use direct getPropertyName() and getValue() calls on PropertyAccessException itself (SPR-6111)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1892 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-15 10:51:50 +00:00
Rob Harrop 23e67fbe1c [SPR-6017] a few more tweaks to how getLocalName is handled
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1878 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-14 15:00:37 +00:00
Rob Harrop f809d37db3 [SPR-6017] a few more tweaks to how getLocalName is handled
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1876 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-14 10:43:04 +00:00
Juergen Hoeller 8920442e66 revised use of generic provider class for Eclipse compile compatibility
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1873 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-13 21:27:03 +00:00
Rob Harrop b98d52b16b [SPR-3635] [SPR-5039] [SPR-5813] JMX annotation inheritance fixed
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1852 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-08 21:37:02 +00:00
Juergen Hoeller 1e16aecadd BeanFactory supports ObjectFactory as a dependency type for @Autowired and @Value (SPR-6079)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1850 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-08 20:55:00 +00:00
Juergen Hoeller 7626f8f69d fixed formatter annotation lookup
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1841 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-08 01:35:36 +00:00
Juergen Hoeller 8986b17038 fixed format tests
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1839 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-08 00:15:09 +00:00
Juergen Hoeller cf81f04056 polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1837 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-08 00:05:09 +00:00
Juergen Hoeller 317022ee8e initial JSR-303 Bean Validation support; revised ConversionService and FormatterRegistry
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1836 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-07 23:58:42 +00:00
Juergen Hoeller 456eb6a616 expression parser uses context's ConversionService by default
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1833 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-07 18:37:59 +00:00
Costin Leau 699ffc5993 + fixed NPE when closing up non-initialized contexts
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1782 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-28 05:43:12 +00:00
Juergen Hoeller c103aa7733 adapted to changes in non-lenient mode
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1779 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-27 10:45:46 +00:00
Juergen Hoeller 2afa25e697 MBeanServerFactoryBean returns JDK 1.5 platform MBeanServer for agent id "" (SPR-5909)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1765 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-26 13:42:28 +00:00
Juergen Hoeller 5ff66e9757 fixed accidental test failures
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1752 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-24 13:48:21 +00:00
Juergen Hoeller 52b66a8cfc fixed package-info
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1751 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-24 13:36:32 +00:00
Juergen Hoeller 3d9dfb340f support for default "conversionService" bean in an ApplicationContext; revised formatting package, now integrated with DataBinder and AnnotationMethodHandlerAdapter; revised AccessControlContext access from BeanFactory
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1750 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-24 13:30:42 +00:00
Keith Donald d3b25394b8 polish
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1746 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-20 03:53:49 +00:00
Keith Donald 64e0586040 missing field test case
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1745 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-20 03:51:20 +00:00
Keith Donald 4f5fea8fe6 polish
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1744 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-20 03:45:08 +00:00
Keith Donald dd1de62bfc core context.message, context.alert, model.binder modules; includes SpEL-based GenericBinder implementation
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1743 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-20 03:40:23 +00:00
Keith Donald dd6a0d3478 removed framework specific annotation in favor of user-defined for now
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1741 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-19 15:02:50 +00:00
Keith Donald bc85327d19 polish
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1740 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-19 14:43:20 +00:00
Keith Donald 7fb83ba297 SPR-6013, SPR-6014, SPR-6015 tests
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1736 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-17 23:13:29 +00:00
Keith Donald 3a0ff95833 polish
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1735 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-17 18:43:47 +00:00
Keith Donald d0408ded78 SPR-6012, SPR-6013, SPR-6014 initial commit
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1734 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-17 18:35:04 +00:00
Juergen Hoeller 2194ae2c67 revised core conversion package for BeanWrapper/BeanFactory integration
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1721 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-09 00:46:49 +00:00
Costin Leau 657b0c5f2a + interaction with user code uses now dedicated privileged when running under a security manager
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1705 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-06 16:34:39 +00:00
Keith Donald b8e9b09b63 pruned presentation model system from trunk to move to dev branch as its a 3.1 feature now
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1691 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-05 15:29:26 +00:00
Keith Donald c962d1566c pruned presentation model system from trunk to move to dev branch as its a 3.1 feature now
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1690 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-05 15:25:54 +00:00