Commit Graph
69 Commits
Author SHA1 Message Date
Juergen Hoeller 7f532b126d PropertyOverrideConfigurer's "ignoreInvalidKeys" ignores invalid property names as well (SPR-5792)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1987 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-24 14:40:13 +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
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
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 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
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 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 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 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
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
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
Juergen Hoeller efa6b14250 XML constructor-arg element allows for specifying a constructor argument by name now, with target argument names read from the class file via ASM or from Java 6's @ConstructorProperties annotation (SPR-3313)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1305 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-03 10:21:57 +00:00
Juergen Hoeller 448b018f47 storing type information as specified (SPR-5556, SPR-5562); explicit XML array element in spring-beans-3.0.xsd (SPR-5543)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1003 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-15 22:27:32 +00:00
Juergen Hoeller c90e6f7641 declarative destroy-method="..." specifications get validated at bean creation time (SPR-5602)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@858 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-27 17:45:53 +00:00
Juergen Hoeller 985e2b0068 added further generic property resolution test
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@853 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-27 17:31:15 +00:00
Arjen Poutsma 39d5376d73 Fixed URI encoding in URIEditor to be RFC 2396 compliant
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@682 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-24 15:12:54 +00:00
Juergen Hoeller 6656a76cae prototype beans receive independent collection/array even when based on single value (SPR-5512)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@663 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-21 18:04:08 +00:00
Juergen Hoeller 3819be4316 testing the exception message when conversion of a generic collection element fails
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@660 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-20 17:12:29 +00:00
Juergen Hoeller 305deb9631 SimpleAliasRegistry detects resolved aliases that loop back to the original name (SPR-5419); PropertyPlaceholderConfigurer does not modify Map in case of equal String keys (SPR-5318); inner class names in Java source style ("java.lang.Thread.State") supported as well (SPR-5210)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@657 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-19 16:17:35 +00:00
Juergen Hoeller 613f744990 generic collection type resolution respects upper bound as well
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@624 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-13 09:09:56 +00:00
Arjen Poutsma 1aa53e5199 Renamed ShortcutTests to SimplePropertyNamespaceHandlerTests
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@571 50f2f4bb-b051-0410-bef5-90022cba6387
2009-01-22 11:41:14 +00:00
Chris Beams 7487ab1794 polishing .beans tests
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@509 50f2f4bb-b051-0410-bef5-90022cba6387
2008-12-24 22:02:08 +00:00
Chris Beams be0dcb3617 polishing .beans tests
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@507 50f2f4bb-b051-0410-bef5-90022cba6387
2008-12-24 21:52:19 +00:00
Chris Beams 657e7b76ae polishing .beans tests
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@506 50f2f4bb-b051-0410-bef5-90022cba6387
2008-12-24 20:29:14 +00:00
Chris Beams 2874ee27b9 polishing .beans tests
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@505 50f2f4bb-b051-0410-bef5-90022cba6387
2008-12-24 20:17:43 +00:00
Chris Beams b103e44949 polishing .beans tests
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@504 50f2f4bb-b051-0410-bef5-90022cba6387
2008-12-24 19:34:04 +00:00
Chris Beams 58903fa010 + polishing .beans tests
+ removed unnecessary dependency on hibernate


git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@503 50f2f4bb-b051-0410-bef5-90022cba6387
2008-12-24 19:14:15 +00:00
Chris Beams cb4108a8ae polishing .beans tests
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@502 50f2f4bb-b051-0410-bef5-90022cba6387
2008-12-24 18:16:53 +00:00
Chris Beams aee86fb035 removing svn:externals usage approach to common test artifacts
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@467 50f2f4bb-b051-0410-bef5-90022cba6387
2008-12-18 18:44:45 +00:00
Chris Beams 2796c55974 Whitespace polishing: leading spaces->tabs; updated eclipse configuration to default to leading tabs for all bundles
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@464 50f2f4bb-b051-0410-bef5-90022cba6387
2008-12-18 14:50:25 +00:00
Chris Beams 993e58e268 removed unused SideEffectBean imlpmentations
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@460 50f2f4bb-b051-0410-bef5-90022cba6387
2008-12-17 23:52:20 +00:00
Chris Beams 71c1153961 introducing common.beans.* packaging and externals; experimenting with sharing SideEffectBean
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@459 50f2f4bb-b051-0410-bef5-90022cba6387
2008-12-17 23:36:40 +00:00
Chris Beams 2455ed7977 moving unit tests from .testsuite -> .core, .beans, .web, .web.portlet, .web.servlet
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@453 50f2f4bb-b051-0410-bef5-90022cba6387
2008-12-17 18:45:41 +00:00
Chris Beams 88613efd7c moving unit tests from .testsuite -> .beans
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@429 50f2f4bb-b051-0410-bef5-90022cba6387
2008-12-16 01:46:25 +00:00
Chris Beams 3ea0e5050a moving unit tests from .testsuite -> .beans and .context
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@428 50f2f4bb-b051-0410-bef5-90022cba6387
2008-12-16 01:08:43 +00:00
Chris Beams c07e1719bc moving unit tests from .testsuite -> .beans
moving and prepping to move SingletonBeanFactoryLocatorTests and ContextSingletonBeanFactoryLocatorTests to their respective .beans and .context packages

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@424 50f2f4bb-b051-0410-bef5-90022cba6387
2008-12-15 18:37:33 +00:00
Chris Beams 2a19c11fa2 moving unit tests from .testsuite -> .beans
RequiredAnnotationBeanPostProcessor tests

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@422 50f2f4bb-b051-0410-bef5-90022cba6387
2008-12-15 17:48:31 +00:00
Chris Beams 482d19cf95 moving unit tests from .testsuite -> .beans
fixed broken unit tests getting ClassNotFoundExceptions

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@421 50f2f4bb-b051-0410-bef5-90022cba6387
2008-12-15 17:13:48 +00:00
Chris Beams cd8ac94bf5 moving unit tests from .testsuite -> .beans
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@420 50f2f4bb-b051-0410-bef5-90022cba6387
2008-12-15 09:25:01 +00:00
Chris Beams d3cfedd19b moving unit tests from .testsuite -> .beans
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@419 50f2f4bb-b051-0410-bef5-90022cba6387
2008-12-15 08:41:35 +00:00
Chris Beams 26148a7575 moving unit tests from .testsuite -> .beans
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@418 50f2f4bb-b051-0410-bef5-90022cba6387
2008-12-15 05:20:25 +00:00