Commit Graph

178 Commits

Author SHA1 Message Date
Rob Harrop ebf625b081 more work on enabling non-namespace extensions of xml parsing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1871 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-11 20:00:04 +00:00
Rob Harrop fc6156dde9 [SPR-5644] Support for Enum<?> and Enum<T> values as FQN.FIELD_NAME in type conversion
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1869 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-11 18:31:51 +00:00
Juergen Hoeller 49e0531f37 polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1858 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-08 23:03:22 +00:00
Juergen Hoeller 641f1eb58d BeanFactory prefers local primary bean to primary bean in parent factory (SPR-5871)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1857 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-08 23:01:26 +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 54f08aeb88 added copy of SerializationTestUtils to beans module
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1851 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-08 21:00:48 +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
Rob Harrop fd5b40d1cc reworked PropertyPlaceholderConfigurer to use new PropertyPlaceholderHelper
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1849 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-08 20:10:26 +00:00
Rob Harrop 2103fde78f fix to resource handling in PluggableSchemaResolver
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1842 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-08 08:37:10 +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 75e4b86c95 expression parser uses context's ConversionService by default
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1834 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-07 18:53:01 +00:00
Juergen Hoeller e4c3adba2d polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1832 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-07 18:37:01 +00:00
Juergen Hoeller 4354ffd683 updated to CGLIB 2.2 and EHCache 1.6.2
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1830 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-07 18:04:27 +00:00
Juergen Hoeller 4446156e2f fixed currently-in-creation check to apply with any log level (SPR-5996)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1829 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-07 12:50:49 +00:00
Rob Harrop 4d0b327678 [SPR-6017] updated DBDR and BDPD to allow for overriding of namespace-specific methods
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1820 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-04 18:22:37 +00:00
Rob Harrop 17821d8d39 updated javax.el dependency to match the IDEA project file
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1819 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-04 18:17:38 +00:00
Rob Harrop f00f605469 [SPR-6004] Fixed NPE in BeanDefinitionParserDelegate when using empty namespace as the default
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1818 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-04 16:59:07 +00:00
Juergen Hoeller a521abefcc updated dependencies
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1791 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-31 11:25:54 +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
Costin Leau b2b4682332 + add implicit (String) type for typed string values w/o a specified type
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1776 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-27 09:47:15 +00:00
Juergen Hoeller dacde6959a fixed accidental test failures
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1760 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-25 13:49:10 +00:00
Juergen Hoeller 1cbc4ac602 try to create unknown collection implementation types via default constructor
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1759 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-25 13:29:22 +00:00
Costin Leau 503c7d9faa + add security manager checks to avoid the creation of inner privileged action classes
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1753 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-24 15:53:48 +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 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
Costin Leau b3f6d339c0 + update copyright dates on some files
+ migrated test from JUnit 3 to 4

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1725 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-09 08:47:24 +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 4fa3a9ca15 + removed unneeded method (one less item off the stack)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1710 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-06 22:50:13 +00:00
Costin Leau c8a037ce93 + added fine grained privileged blocks to preserve the caller security stack when invoking the callee
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1708 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-06 22:31:57 +00:00
Costin Leau 92bffc2fb5 + fixed exception unwrapping
+ optimized path for getBean (and thus fixed another test)

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1707 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-06 19:08:14 +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
Mark Pollack 2f66da5293 SPR-5976 - Upgrade POMS to JUnit 4.6
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1696 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-05 17:48:53 +00:00
Sam Brannen 68d07767ec Parameterized/generified static methods in BeanUtils.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1681 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-04 12:06:14 +00:00
Juergen Hoeller 5b6b05cb5a fixed constructor resolution algorithm to trigger ambiguity exception as late as possible
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1656 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-29 16:43:12 +00:00
Juergen Hoeller 7d40e1d032 prevent non-public access to bean class as well, if demanded
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1654 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-29 15:15:47 +00:00
Juergen Hoeller 0d93975a05 revised non-lenient resolution
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1648 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-28 14:43:37 +00:00
Juergen Hoeller 1b37f79e4e lenientConstructorResolution flag applies to factory methods as well
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1638 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-27 14:09:42 +00:00
Juergen Hoeller e49820d4b0 @Required does not get processed on beans returned by @Bean factory methods (SPR-5744)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1601 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-24 13:29:28 +00:00
Christian Dupuis e81fd7b5d3 xsds now use schemaLocation attribute on xsd:import elements to specify the concrete schema version to import
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1589 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-22 14:06:44 +00:00
Juergen Hoeller d67c11d48b @PostConstruct works for multiple private init methods of the same name in a hierarchy (SPR-5945)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1588 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-22 12:52:47 +00:00
Juergen Hoeller eda499c4d0 polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1577 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-21 14:14:53 +00:00
Juergen Hoeller 53cfa5d4fa revised static annotation check
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1576 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-21 14:12:16 +00:00
Juergen Hoeller 0874513d0e revised lenient constructor resolution (follow-up to SPR-5816)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1552 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-16 17:22:03 +00:00
Juergen Hoeller 98a82fe328 introduced "nonPublicAccessAllowed" flag (SPR-5882)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1551 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-16 15:52:27 +00:00
Juergen Hoeller 6d0e3ced2e introduced "lenientConstructorResolution" flag (SPR-5816)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1549 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-16 13:27:47 +00:00
Juergen Hoeller 2a699594df consistently allow array element
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1548 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-16 11:35:25 +00:00
Juergen Hoeller acd0fb7199 constructor argument type matching supports arrays and simple class names now (SPR-5844)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1547 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-16 11:25:52 +00:00
Juergen Hoeller 3cb902ef21 avoid potential NPE (SPR-5930)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1542 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-15 15:07:37 +00:00
Chris Beams b33d28d6cf updated .jms dependency on junit 4.6.0 from test->runtime to test->compile. touched all org.eclipse.jdt.core.prefs (during the process of importing the projects). only the date comments within each have changed.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1541 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-15 07:26:31 +00:00
Mark Pollack bed23619b7 SPR-5619
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1506 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-10 04:02:08 +00:00