Juergen Hoeller
118b0b0b80
SpEL supports projection on any kind of Collection (SPR-7493)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3630 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-01 21:55:39 +00:00
Juergen Hoeller
c2a1d571d8
polishing
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3629 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-01 18:41:10 +00:00
Juergen Hoeller
58dab3f971
DefaultLobHandler's "wrapAsLob" mode works with PostgreSQL's getAsciiStream() requirement (SPR-7487)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3628 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-01 18:09:29 +00:00
Juergen Hoeller
da758771fa
consistent use of JDK 1.5's ThreadLocal.remove() over ThreadLocal.set(null), preventing leaks (SPR-7441)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3627 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-01 17:17:25 +00:00
Juergen Hoeller
e26a0ab06d
JaxWsPortClientInterceptor does not fall back to annotation-specified name as portName anymore (SPR-7505)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3626 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-01 14:02:32 +00:00
Juergen Hoeller
6567fa437b
JDBC bundle uses local ClassLoader as bean ClassLoader for "sql-error-codes.xml" parsing (SPR-7497)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3625 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-01 13:46:57 +00:00
Juergen Hoeller
be6a363e70
fixed EvalTag's EvaluationContext caching (SPR-7482)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3624 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-01 13:33:45 +00:00
Juergen Hoeller
2b6ff5d9dd
fixed no-message-received commit case for non-cached Sessions (SPR-7478)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3623 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-01 11:21:40 +00:00
Juergen Hoeller
b8fbe4650e
avoid hanging in case of shutdown errors (SPR-7511)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3622 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-01 11:19:11 +00:00
Arjen Poutsma
5cf889307a
Fixing build
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3621 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-31 15:48:42 +00:00
Arjen Poutsma
438bd89d2a
Minor tweaks
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3620 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-31 10:46:58 +00:00
Arjen Poutsma
1a62ecb846
Added createCustomStaxSource/Result, because JAXP 1.4 kills babies in their sleep.
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3619 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-31 09:51:59 +00:00
Arjen Poutsma
030fdef887
Various StAX improvements.
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3616 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-27 11:35:27 +00:00
Chris Beams
9b68accbce
Fix memory leak in serializable bean factory management (SPR-7502)
...
GenericApplicationContext and AbstractRefreshableApplicationContext
implementations now call DefaultListableBeanFactory.setSerializationId()
only upon successful refresh() instead of on instantiation of the
context, as was previously the case with GAC.
DLBF.setSerializationId() adds the beanFactory to the *static*
DLBF.serializableFactories map, and while calling close() on the
application context removes entries from that map, it does so only if
the context is currently active (i.e. refresh() has been called).
Also, cancelRefresh() has been overridden in GAC just as it has been
in ARAC to accomodate the possibility of a BeansException being thrown.
In this case, the beanFactory serializationId will be nulled out and
the beanFactory removed from the serializableFactories map.
The SerializableBeanFactoryMemoryLeakTests test case provides full
coverage of these scenarios.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3615 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-27 10:53:20 +00:00
Arjen Poutsma
7778cd8aed
SPR-7490 - Reverting RedirectView to it's 3.0.3 version
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3614 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-25 09:00:09 +00:00
Arjen Poutsma
000b904f7d
SPR-7316 - writeAcceptCharset now also set to false when using mvc namespace.
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3613 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-23 14:53:00 +00:00
Ben Hale
82e5f5f5d6
Publishing license and notice files
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3612 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-23 13:17:31 +00:00
Arjen Poutsma
750dc01862
Prepping for 3.0.5
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3611 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-19 11:04:04 +00:00
Arjen Poutsma
cdac541cac
Prepping for 3.0.5
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3610 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-19 10:55:41 +00:00
Juergen Hoeller
f68aa25579
temporarily disabled constructor argument caching for converted values (SPR-7423)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3608 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-19 09:30:04 +00:00
Arjen Poutsma
2d3eeeb4ea
SPR-7471 - Regression in redirect URL encoding
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3607 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-19 08:54:42 +00:00
Arjen Poutsma
2578cf21a0
SPR-7474 - AbstractXmlStreamReader getAttributeValue(String, String) does not handle null namespaceURI properly
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3606 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-19 07:53:48 +00:00
Chris Beams
49dd9b04ab
Split IoC chapter DocBook XML into multiple files (SPR-7467)
...
All <section/> elements in beans.xml >=~ 500 lines have been broken out
into separate documents with DOCTYPE 'section'. This refactoring makes
working with these files much easier in wysiwyg editors (namely
oXygen Author).
For consistency, this same refactoring should be applied to all other
chapters much larger than 1500 lines, such as aop.xml (3861), mvc.xml
(3466), jdbc.xml (3042), and so on.
beans.xml and the new section files have also been formatted for
consistency and to avoid whitespace diffs as much as possible into the
future.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3605 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-18 10:37:35 +00:00
Juergen Hoeller
a8298abc53
final preparations for 3.0.4 release
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3604 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-18 09:13:10 +00:00
Juergen Hoeller
5d4e145192
revised constructor argument caching for highly concurrent creation scenarios (follow-up to SPR-7423)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3603 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-18 09:08:55 +00:00
Chris Beams
1bcaef2b9a
Document BeanFactoryPostProcessor implementation constraints (SPR-7466)
...
JavaDoc and reference docs now warn developers against interacting with
bean instances within BeanFactoryPostProcessor implementations in order
to avoid premature bean instantiation.
See SPR-7450 for an example of a third-party BFPP
(OAuthTokenLifecycleRegistryPostProcessor) prematurely instantiating
a FactoryBean instance, such that bean post-processing is bypassed
and autowired injection (via @Inject) never occurs.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3602 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-17 09:50:22 +00:00
Juergen Hoeller
6e2e676581
polishing
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3601 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-16 21:24:21 +00:00
Juergen Hoeller
162a2b535a
polishing
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3600 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-16 20:39:28 +00:00
Juergen Hoeller
71c052155e
consistent converting and escaping of label values (following AbstractMultiCheckedElementTag's SPR-7174)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3599 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-16 20:39:14 +00:00
Juergen Hoeller
fded7496d5
renamed "mapping-order" to "order"; added "cache-period"
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3598 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-16 19:04:51 +00:00
Juergen Hoeller
628eff0773
return 404 in case of no media type found
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3597 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-16 19:02:12 +00:00
Juergen Hoeller
beec86f205
@MVC handler method resolution
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3596 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-15 23:51:01 +00:00
Juergen Hoeller
4fa5d75bbb
WebDataBinder and @MVC request param binding detect and introspect MultipartFile arrays as well (SPR-2784)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3595 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-15 23:20:55 +00:00
Juergen Hoeller
56f7b00dff
polishing
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3594 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-15 23:04:19 +00:00
Juergen Hoeller
d2a5c927ce
lazy creation of MessageFormats
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3593 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-15 23:04:02 +00:00
Juergen Hoeller
bcd552abfe
polishing
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3592 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-15 23:01:10 +00:00
Juergen Hoeller
e8bef9d800
added testStringArrayToResourceArray
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3591 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-15 23:00:46 +00:00
Juergen Hoeller
99143de03f
Servlet/PortletContextResource inherit isReadable, contentLength and lastModified from AbstractFileResolvingResource
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3590 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-15 22:57:37 +00:00
Juergen Hoeller
ce3326a617
CommonsMultipartResolver cleans up all multipart files in case of multiple files for same name as well (SPR-2784)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3589 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-15 22:52:54 +00:00
Juergen Hoeller
e39f0704a2
WebDataBinder and @MVC request param binding detect and introspect MultipartFile arrays as well (SPR-2784)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3588 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-15 22:51:02 +00:00
Juergen Hoeller
29c3bb3152
MockMultipartHttpServletRequest pre-defines method "POST" and content type "multipart/form-data"
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3587 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-15 22:46:15 +00:00
Juergen Hoeller
93fb8760ff
consistent mocks between modules
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3586 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-15 22:02:40 +00:00
Juergen Hoeller
b03ec5d78a
renamed UriUtilsTest to UriUtilsTests
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3585 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-15 22:01:33 +00:00
Juergen Hoeller
ebe3a85a3e
fixed accidental change to byte array loop
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3584 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-15 21:43:24 +00:00
Juergen Hoeller
034859d900
polishing
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3583 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-15 21:26:43 +00:00
Juergen Hoeller
47759cb118
polishing
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3582 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-15 21:24:35 +00:00
Juergen Hoeller
d5149d86f4
use generic Class<?> in TransactionAttributeSource signature
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3581 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-15 21:19:52 +00:00
Juergen Hoeller
8a43bf4949
polishing
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3580 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-15 21:17:39 +00:00
Juergen Hoeller
3f7c46e16d
revised handler method resolution, in particular with respect to generic interfaces (SPR-7355)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3579 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-15 21:12:54 +00:00
Juergen Hoeller
49c45c0819
search super-interfaces as well (SPR-7355)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3578 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-14 21:12:58 +00:00