Costin Leau
ece44a3ff7
SPR-6794
...
+ fix test
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2917 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-04 11:33:58 +00:00
Arjen Poutsma
f04ef6a5f1
SPR-6788: fixed compareTo() consistency with equals
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2916 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-04 11:08:09 +00:00
Costin Leau
48df1fd669
SPR-6794
...
+ added setter for encoding (in case the default UTF-8 is not enough)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2915 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-04 10:13:04 +00:00
Costin Leau
0ade90451c
+ add explicit dependency on commons-pool to prevent version 1.3 from being used (since it contains a memory leak)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2914 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-04 10:05:54 +00:00
Costin Leau
14d2235034
SPR-6794
...
+ used UTF-8 as the implicit encoding for reading scripts
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2913 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-04 10:04:48 +00:00
Arjen Poutsma
d8a338690b
SPR-6786: added more checks for quality factors & charsets
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2912 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-04 09:47:52 +00:00
Juergen Hoeller
7473330885
ApplicationListeners will reliably get invoked through their proxy (if any)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2911 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-03 23:52:56 +00:00
Juergen Hoeller
0ce0de3eab
refined addApplicationListener to work any time during the refresh phase
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2910 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-03 23:09:42 +00:00
Juergen Hoeller
6325a81b7d
ApplicationListeners will get detected lazily as well (e.g. on @Bean's concrete result); inner bean ApplicationListeners will be invoked through their proxy (if any)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2909 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-03 22:54:59 +00:00
Juergen Hoeller
48b80320d9
lenient evaluation of boolean 'true' attribute expressions in JSP form tag library (SPR-6790)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2908 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-03 21:56:17 +00:00
Juergen Hoeller
30dfba110d
fixed WebSphereUowTransactionManager regression: correctly roll back in case of exception (SPR-6695)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2907 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-03 19:41:14 +00:00
Arjen Poutsma
44ef392925
SPR-6788 - The class MediaType has a natural ordering that is inconsistent with equals, which is generally recommended or should otherwise at least be indicated in the javadoc
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2906 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-03 14:02:44 +00:00
Arjen Poutsma
d6019e11ec
SPR-6786 - The method org.springframework.http.MediaType.parseMediaType does not always throw IllegalArgumentException as the documentantion claims
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2905 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-03 13:52:39 +00:00
Arjen Poutsma
1ba636771f
SPR-6788 - The class MediaType has a natural ordering that is inconsistent with equals, which is generally recommended or should otherwise at least be indicated in the javadoc
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2904 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-03 11:38:31 +00:00
Juergen Hoeller
cd7deeb5a7
fixed JmsTemplate example (SPR-6789)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2903 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-03 00:29:49 +00:00
Andy Clement
5024290980
SPR-6763: more methods on StandardEvaluationContext supporting add/remove from resolver/accessor strategies
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2902 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-02 21:38:33 +00:00
Andy Clement
21cb4a0bfc
SPR-6764: filtering strategy for SpEL method invocation
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2901 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-02 19:38:44 +00:00
Arjen Poutsma
5ce8251b09
SPR-6788 - The class MediaType has a natural ordering that is inconsistent with equals, which is generally recommended or should otherwise at least be indicated in the javadoc
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2900 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-02 13:14:19 +00:00
Andy Clement
55f8409ea0
SPR-6610: don't wrap runtime exceptions thrown from methods invoked via an expression
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2899 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-01 20:13:08 +00:00
Keith Donald
63ff338dda
with dependencies distribution added
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2898 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-01 19:59:05 +00:00
Andy Clement
a8ee8c4cda
SPR-6760: method called twice if exits via exception in a 'normal' case
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2897 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-01 19:53:34 +00:00
Juergen Hoeller
a983d181aa
fixed MBeanExporter regression: do not try to expose abstract beans (SPR-6784)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2896 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-01 17:56:03 +00:00
Juergen Hoeller
4ae829da56
component-scan's scoped-proxy attribute applies to scope-annotated singleton beans as well (SPR-6683)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2895 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-01 16:51:46 +00:00
Juergen Hoeller
153ff751ab
component-scan's scoped-proxy attribute applies to scope-annotated singleton beans as well (SPR-6683)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2894 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-01 16:30:21 +00:00
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