Commit Graph

2887 Commits

Author SHA1 Message Date
Arjen Poutsma bf3c057208 SPR-6785 - Improve message error when the MarshallingView modelKey attribute is not valid
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2893 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-01 15:25:29 +00:00
Juergen Hoeller ac1d678554 throw NotSerializableException if no serialization id is available
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2892 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-01 14:52:43 +00:00
Juergen Hoeller 6ad560d205 polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2891 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-01 14:51:54 +00:00
Juergen Hoeller 37a23acbe2 SharedEntityManagerCreator's EntityManager proxies are fully serializable now (SPR-6684)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2890 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-01 14:48:18 +00:00
Juergen Hoeller 9991a013fd TransactionInterceptor is able to serialize "transactionManagerBeanName" as well (SPR-6680)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2889 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-01 14:45:11 +00:00
Juergen Hoeller 0bdaa0732b proxies with AspectJ pointcuts are fully serializable within a BeanFactory now (SPR-6681)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2888 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-01 14:43:35 +00:00
Costin Leau a7e3874789 SPR-3786
+ add note on annotation-based injection vs XML
+ provide a nicer introduction to annotation based chapter

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2887 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-01 14:36:38 +00:00
Juergen Hoeller d4ef342ff6 call processConfigBeanDefinitions lazily if postProcessBeanDefinitionRegistry hasn't been called
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2886 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-31 16:10:11 +00:00
Juergen Hoeller 7553d32b24 widened FactoryBean's "getObjectType" signature to return any Class<?> (SPR-6692)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2885 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-31 16:01:14 +00:00
Juergen Hoeller 735a7d5d75 introduced BeanDefinitionRegistryPostProcessor extension to BeanFactoryPostProcessor; @Configuration classes support definition of BeanFactoryPostProcessor beans as well (SPR-6455, SPR-6611)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2884 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-31 15:58:27 +00:00
Juergen Hoeller 044a329629 refined DefaultLifecycleProcessor's start/stop logging and stop exception handling (SPR-6769, SPR-6770)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2883 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-31 15:52:13 +00:00
Juergen Hoeller 907cee1539 JndiObjectFactoryBean explicitly only chooses public interfaces as default proxy interfaces (SPR-5869)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2882 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-31 14:59:27 +00:00
Juergen Hoeller 439ab024e2 fixed cron example (SPR-6772)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2881 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-31 14:17:44 +00:00
Juergen Hoeller 6a41d6b2a0 BeanNameAutoProxyCreator detects alias matches for specified bean names as well (SPR-6774)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2880 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-31 14:12:48 +00:00
Juergen Hoeller a7b4dd195f introduced BeanDefinitionRegistryPostProcessor extension to BeanFactoryPostProcessor; @Configuration classes support definition of BeanFactoryPostProcessor beans as well (SPR-6455, SPR-6611)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2879 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-31 14:05:28 +00:00
Juergen Hoeller 0887e0f2f8 fixed JPA multi-unit setup example (SPR-6781)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2878 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-31 12:59:59 +00:00
Chris Beams 04bed0c1d7 RESOLVED - issue SPR-6779: imported @Configuration classes do not get enhanced and fail to satisfy scoping requirements
refactoring, polishing.


git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2877 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-29 23:31:53 +00:00
Chris Beams 7c0a31fb36 IN PROGRESS - issue SPR-6779: imported @Configuration classes do not get enhanced and fail to satisfy scoping requirements
All tests in ImportedConfigurationClassEnhancementTests now pass.  The fix was simple - imported @Configuration class bean definitions were not getting marked with the attribute that indicates that they are indeed @Configuration class bean definitions.  To make this happen, ConfigurationClassPostProcessor's protected checkConfigurationClassCandidate(beanDef) method is being called from within ConfigurationClassBeanDefinitionReader when imported @Configuration classes are being processed.  This is quick and dirty, and the subsequent check-in will refactor the solution appropriately.

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2876 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-29 20:55:03 +00:00
Chris Beams b157c5dbad Unit test cornering bug SPR-6779, 'imported @Configuration classes do not get enhanced and fail to satisfy scoping requirements'
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2875 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-29 19:48:25 +00:00
Costin Leau 988d6e7f8a SPR-6775
+ remove class definitions for sticking around (by forcing eager metadata initialization)
+ improve cache size by eliminating the numbers of method metadata objects created
+ improve lookup access on method metadata

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2874 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-29 14:27:49 +00:00
Costin Leau 2130d7f7e7 SPR-6775
+ increase size to 256

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2873 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-28 16:03:07 +00:00
Costin Leau 898a30ae3f SPR-6775
+ replace the vanilla hashmap with a quick-and-dirty, JDK based, fixed LRU cache

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2872 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-28 15:51:20 +00:00
Arjen Poutsma 95fc7c3268 SPR-6771 - HttpMessageConverter should accept Class<? extends T> on can read
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2871 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-28 09:23:34 +00:00
Chris Beams 31e86ea429 Updated documentation to point out that AnnotationConfigWebApplicationContext can accept both fully-qualified class names as well as base packages to the contextConfigLocation init-param.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2870 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-28 03:42:42 +00:00
Juergen Hoeller 9c26d02ff9 fixed namespace example (SPR-6766)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2869 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-27 13:48:57 +00:00
Arjen Poutsma 41bf231f96 SPR-6759 - Jetty 7 doesn't like ShallowEtagHeaderFilter
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2868 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-27 13:02:02 +00:00
Costin Leau 18afcd07c3 SPR-3709
+ improved example to work with multi-nested declarations
+ used JDK 5 syntax
+ added documentation code into trunk (including unit test) for easier future reference

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2867 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-27 12:25:04 +00:00
Arjen Poutsma 619134054a SPR-6577 - MarshallingView auto detect model with Jaxb2Marshaller chooses the wrong object
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2866 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-27 10:52:08 +00:00
Costin Leau 600eb1d368 SPR-3771
+ added table summarizing the Aware interfaces in Spring 3

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2865 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-26 17:02:21 +00:00
Costin Leau 3a83af4d97 SPR-4493
+ added some clarifications
+ improved the document structure

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2864 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-26 14:31:44 +00:00
Arjen Poutsma 5746e04fa8 SPR-6649 - Request mapping incorrectly receiving all dispatches for a controller
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2863 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-26 10:47:36 +00:00
Costin Leau 2e974ce47b SPR-6646
+ replaced handleRequest() with setSynchronizeOnSession() which is final

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2862 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-26 10:07:40 +00:00
Juergen Hoeller 3c77f3ea67 LinkedMultiValueMap should implement Serializable (SPR-6765)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2861 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-25 20:04:01 +00:00
Costin Leau 244b530aeb SPR-4493
SPR-6756

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2860 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-25 17:03:05 +00:00
Ben Hale 73b54e0498 Upgrade to spring-build
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2859 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-23 17:27:51 +00:00
Ben Hale d5bdca4f23 Fixed up POM bug
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2858 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-23 12:01:54 +00:00
Ben Hale 07995dfb67 Upgraded spring-build
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2857 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-23 09:28:22 +00:00
Ben Hale 969734df8c Upgraded spring-build
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2856 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-23 00:15:00 +00:00
Ben Hale 36ceb94931 Separated out unit test projects
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2855 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-23 00:03:05 +00:00
Ben Hale 4f63cc58a4 Updates to allow nightly snapshots of maven central-compatible artifacts
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2854 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-22 20:16:25 +00:00
Juergen Hoeller 415b4acfba fixed instrumentation jar names (SPR-6753)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2853 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-22 19:23:11 +00:00
Juergen Hoeller 57211e124f changed exception wording from "recursive" to "cyclic" (SPR-6755)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2852 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-22 19:10:19 +00:00
Juergen Hoeller b33728c991 added test for expression re-evaluation
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2851 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-22 16:03:17 +00:00
Juergen Hoeller 61c1b4fc9e accept Set<?> instead of Set<Object> (SPR-6742)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2850 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-22 10:03:13 +00:00
Juergen Hoeller 7d525d9382 fixed typo (SPR-6748)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2849 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-22 10:02:12 +00:00
Thomas Risberg edfbe3dd8c updated reference documentation with references to "spring-agent.jar" to use "org.springframework.instrument-{version}.jar" (SPR-6597)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2848 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-21 16:49:05 +00:00
Juergen Hoeller 5f4a938bff support for JPA 2.0 TypedQuery interface and query vendor interfaces (SPR-6733)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2847 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-21 12:04:26 +00:00
Juergen Hoeller d5da512d1d fixed inaccuracies (SPR-6723, SPR-6725)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2846 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-20 22:19:13 +00:00
Juergen Hoeller 79fc317d2e WebRequest is a resolvable dependency in Servlet/Portlet web application contexts (SPR-6727)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2845 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-20 22:09:13 +00:00
Juergen Hoeller 022e2b68d0 Query call chaining works with shared EntityManager proxy outside of transaction as well (SPR-6726)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2844 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-20 15:39:17 +00:00