Commit Graph

3443 Commits

Author SHA1 Message Date
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
Juergen Hoeller 2c62aedd12 refined exception messages; added unit tests for custom array types
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3577 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-14 19:42:29 +00:00
David Syer 122d313f9c SPR-7463: switched to instance variable
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3576 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-14 11:09:42 +00:00
Juergen Hoeller 7fa2da7e9a revised DispatcherServlet's last-modified handling to properly work with scoped controllers
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3575 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-12 23:32:53 +00:00
Juergen Hoeller e11c495194 DispatcherServlet etc
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3574 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-12 22:55:12 +00:00
Juergen Hoeller 0c98b55bc1 revised DispatcherServlet's last-modified handling to properly work with scoped controllers; added HEAD support to ResourceHttpRequestHandler
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3573 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-12 22:54:24 +00:00
Juergen Hoeller 7a47dc548c revised web scoping tests
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3572 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-12 22:49:26 +00:00
Juergen Hoeller 93b98f48ed refined logging of handler objects in order to avoid early access to scoped proxies (SPR-7456)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3571 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-12 22:14:20 +00:00
Juergen Hoeller 0f9a15c613 polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3570 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-12 18:49:13 +00:00
Juergen Hoeller 892d44f8c0 polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3569 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-12 18:42:13 +00:00
Juergen Hoeller 39787d0745 fixed JSP EvalTag to render null result as empty String instead of "null" String (SPR-7459)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3568 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-12 18:41:24 +00:00
Juergen Hoeller e7f986cbc7 SpringTemplateLoader supports last-modified timestamp through Resource abstraction (SPR-7454)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3567 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-12 10:56:28 +00:00
Juergen Hoeller 544208bc46 introspect superclass when given a CGLIB proxy as target class (SPR-7448); use generic Class<?> in TransactionAttributeSource signature
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3566 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-11 21:47:50 +00:00
Juergen Hoeller 4e33c7d442 Spring's constructor resolution consistently finds non-public multi-arg constructors (SPR-7453)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3565 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-11 19:24:30 +00:00
Arjen Poutsma 2dccb96f85 SPR-7427 - URL in a redirect is not escaped by RedirectView
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3564 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-11 11:44:44 +00:00
Arjen Poutsma 120aa89907 SPR-7439 - JSON (jackson) @RequestBody marshalling throws awkward exception
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3563 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-11 08:16:12 +00:00
Chris Beams 326359f297 Link to Spring Integration at end of event coverage
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3562 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-11 06:36:00 +00:00
Chris Beams e74a86cd9e Remove XFire reference documentation (SPR-7434)
XFire is now CXF (per http://xfire.codehaus.org), and given that Spring
does not actually ship with any explicit XFire support, it makes sense
to remove the documentation completely.  CXF does provide support for
writing services with Spring, and they provide their own documentation.

See http://cxf.apache.org/docs/writing-a-service-with-spring.html

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3561 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-10 23:10:35 +00:00
Juergen Hoeller 5294db8e62 fixed yet another regression with respect to newlines (SPR-7449)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3560 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-10 22:36:36 +00:00
Chris Beams 4bd891ac22 Remove Chapter 27 from reference documentation (SPR-7433)
Chapter 27 covered @Required and RequiredAnnotationBeanPostProcessor but
did not hold together as a chapter unto itself.  The IoC chapter already
makes mention of @Required and RequiredAnnotationBeanPostProcessor,
though not in quite as much detail as Chapter 27 did.  Links have been
updated throughout to reference these sections and Chatper 27 has been
eliminated entirely.

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3559 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-10 22:13:55 +00:00
Chris Beams 3755e488f0 Apply parentheses consistently within <methodname/>
Prior to change, there were 175 instances of <methodname/> elements
including parentheses (e.g.: <methodname>foo()</methodname>, and
36 instances without.

Now all 211 instances include parentheses for consistency.

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3558 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-10 22:13:50 +00:00
Sam Brannen 22a0850aca [SPR-7449] @Ignore'd failing test for regression in ResourceDatabasePopulator.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3557 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-10 21:51:35 +00:00
Chris Beams f9be7f32c9 Overhaul custom ApplicationEvent documentation (SPR-7422, SPR-7395)
Documentation now:

- Reflects generic use of ApplicationListener interface

- Demonstrates use of ApplicationEventPublisher(Aware) instead of
  ApplicationContext(Aware) for publishing custom events

- Provides a more complete narrative as to how each of the publisher,
  listener, and event objects interact with one another

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3556 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-10 20:59:36 +00:00
Chris Beams 17037021ff Polish validation chapter program listings
<programlisting/> elements must contain no newlines at beginning or end.
The following is an example of what not to do:

    <programlisting><![CDATA[
package com.foo.bar;

class XFoo implements Foo<X> {
}]]>
    </programlisting>

This leaves newlines at the beginning and end of the programlisting
panel within the PDF. Instead, do it like this:

    <programlisting><![CDATA[package com.foo.bar;

class XFoo implements Foo<X> {
}]]></programlisting>

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3555 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-10 13:48:48 +00:00
Chris Beams 563274ec6a Clarify ConversionServiceFactoryBean documentation (SPR-7362)
- The sentence at the end of section 5.5.5 now refers to the
  <mvc:annotation-driven conversion-service="..."/> example at the end
  of section 5.6.

- The sentence at the end of section 5.5.5 refers to the
  FormatterConversionServiceFactoryBean section that follows.

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3554 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-10 13:48:44 +00:00
Chris Beams a8210a5dfa Fix typo in validation chapter
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3553 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-10 13:48:41 +00:00
Chris Beams 257fd4268e Format validation chapter docbook source
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3552 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-10 13:48:34 +00:00
Chris Beams f43512c381 Remove dependency-check coverage from reference docs (SPR-7303)
- 'dependency-check' attribute of the <bean/> element was removed
  in the spring-beans-3.0 XSD; documentation now reflects this change.

- 'autodetect' was removed from the enumeration of possible values
  for autowire mode in the spring-beans-3.0 XSD; documentation now
  reflects this change.

Note that the underlying functionality for these values has not been
removed from Spring Core.  Users of Spring 3.0 who still need this
support may choose to use spring-beans-2.5.xsd in order to preserve
backward-compatibility.

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3551 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-10 13:48:26 +00:00
Juergen Hoeller 385b21fc27 changed contentLength() from int to long
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3550 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-09 15:58:07 +00:00
Juergen Hoeller 1e389ddcc7 fixed package-info
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3549 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-08 23:31:48 +00:00
Juergen Hoeller 3f23b8f258 revised ResourceHttpRequestHandler (SPR-7116)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3548 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-08 23:25:49 +00:00
Juergen Hoeller ca58577eb1 implement file resolution for isReadable() as well
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3547 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-08 23:21:41 +00:00
Juergen Hoeller 4132414f4f Resource refinements, etc
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3546 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-08 23:00:30 +00:00
Juergen Hoeller c3a8a4933a added "contentLength()" method to Resource abstraction; URL-based Resource variants introspect "last-modified" and "content-length" response headers (SPR-5465); refined "exists()" check for UrlResource (HEAD request) and ClassPathResource (URL resolution)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3545 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-08 22:53:52 +00:00
Chris Beams 69b608bb2b Typo fix 'a enterprise' -> 'an enterprise'
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3544 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-07 22:47:32 +00:00
Juergen Hoeller 4a473e7e71 fixed accidental regression with respect to newlines
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3543 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-07 18:02:51 +00:00
Juergen Hoeller 425b471694 SpEL passes full collection type context to ConversionService (SPR-7410)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3542 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-07 17:54:23 +00:00
Juergen Hoeller 90d1a297cb polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3541 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-07 16:52:16 +00:00
Juergen Hoeller 9113a54381 ignore empty statements (SPR-7363)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3540 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-07 16:52:05 +00:00
Chris Beams 78ee247ac3 Replace 'Java EE' with 'enterprise Java' as appropriate
Also change 'JEE' -> 'Java EE'

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3539 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-07 14:47:17 +00:00
Chris Beams 9cee0bc7e1 Add missing equals sign to code snippet (SPR-7339)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3538 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-07 13:57:28 +00:00
Chris Beams 73ede99e14 Change 'lastName*' -> 'lastName' for error display (SPR-7339)
It's not clear why the asterisk would be necessary, as 'lastName'
alone should match all errors associated with that field.

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3537 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-07 13:57:26 +00:00
Chris Beams 9d514b6d59 Fix typos (SPR-7339)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3536 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-07 13:57:23 +00:00
Chris Beams d1fbb74a74 Fix typos in Chapter 27 (SPR-7339)
Note that SPR-7433 has also been created to consider removing this
chapter entirely.

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3535 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-07 13:57:18 +00:00