Commit Graph

195 Commits

Author SHA1 Message Date
Mark Pollack b5e25453d2 pom maintenance
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1952 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-21 07:37:30 +00:00
Keith Donald aa9794526d updated for change in conversion service api; source type desc now required
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1935 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-18 20:32:41 +00:00
Keith Donald fad7b691bf refined generic converter concept
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1932 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-18 19:57:59 +00:00
Juergen Hoeller 09cb11776e added default editors for "java.util.Currency" and "java.util.TimeZone"
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1929 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-18 14:15:06 +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
Juergen Hoeller 56d0246713 adapted to Converter signature change
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1908 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-17 15:20:04 +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 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
Rob Harrop b4f29862b1 [SPR-6063] fixed issue with inconsistent views of PropertyDescriptors
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1900 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-16 09:53:14 +00:00
Juergen Hoeller 856b7edc51 protected @Autowired method can be overridden with non-annotated method to suppress injection; private @Autowired methods with same signature will be called individually across a hierarchy (SPR-6112)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1897 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-15 15:52:13 +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
Juergen Hoeller 05ab1cea77 @RequestParam and co support placeholders and expressions in their defaultValue attributes (SPR-5922); @Value expressions supported as MVC handler method arguments as well (against request scope)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1877 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-14 10:48:15 +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
Rob Harrop 8bfc41077f [SPR-6017] a few more tweaks to the BeanDefinitionParserDelegate public contract
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1874 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-14 10:02:15 +00:00
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