Commit Graph

387 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
Chris Beams dec9cdcb4a Replace 'recourse' with simpler terms (SPR-7339)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3534 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-07 13:57:16 +00:00
Chris Beams 4410126eeb Fix typo 'type form'->'type from' (SPR-7339)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3533 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-07 13:57:14 +00:00
Chris Beams 3aa7e67ce7 Consistently refer to 'default no-arg constructor' (SPR-7339)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3532 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-07 13:57:12 +00:00
Chris Beams f14a0c26e2 Distinguish JMS remoting from JMS messaging support (SPR-7339)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3531 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-07 13:57:09 +00:00
Chris Beams e820dda201 Clarify ServletException is thrown when no view is resolved (SPR-7339)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3530 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-07 13:57:07 +00:00
Chris Beams e1dfe5ca69 Add @Repository use to JdbcTemplate Best Practices (SPR-7339)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3529 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-07 13:57:03 +00:00
Chris Beams 22271d0466 Improve explanation re DAOs and persistence resources (SPR-7339)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3528 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-07 13:57:01 +00:00
Chris Beams 1be185c8e4 Replace 'tropes' language (SPR-7339)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3527 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-07 13:56:58 +00:00
Jeremy Grelle 3d413d4f55 SPR-7116 - Added documentation for <mvc:default-servlet-handler>
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3521 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-03 16:14:37 +00:00
Michael Isvy 9063e729bb SPR-7416
Typo on the name of the @Autowired annotation:  @Autowire -> @Autowired
Usage of the @Value annotation: ${jdbcProperties.url} -> ${jdbc.url} (inside section "Declaring @Configuration classes as plain Spring <bean/> elements").

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3520 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-03 07:14:29 +00:00
Jeremy Grelle 12c4f7ccca SPR-7116 - Added documentation for <mvc:resources>
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3519 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-03 01:23:24 +00:00
Arjen Poutsma 3a821047d5 Fixed execute -> exchange
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3502 50f2f4bb-b051-0410-bef5-90022cba6387
2010-07-26 08:00:43 +00:00
Andy Clement 8ac0faff06 SpEL documentation (!) on @Bean referencing, inline lists and array construction
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3474 50f2f4bb-b051-0410-bef5-90022cba6387
2010-07-06 21:40:25 +00:00
Juergen Hoeller 372f54cf98 fixed typos (SPR-7332)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3469 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-29 10:22:49 +00:00
Juergen Hoeller 247836ac79 added formCheckbox to macro list (SPR-7322)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3464 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-28 18:23:56 +00:00
Juergen Hoeller 055d4d86fb fixed typo (SPR-7321)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3463 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-28 18:18:26 +00:00
Oliver Gierke dda86a0756 Fixed language attribute in code sample to activate currently missing syntax highlighting.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3440 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-22 12:41:55 +00:00
Juergen Hoeller 7a9f9febf8 added warnings regarding accidental usage of @Configurable on a managed bean (SPR-7216)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3414 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-11 13:48:52 +00:00
Juergen Hoeller 53ac18362a added explicit section on autodetecting aspects through component scanning (SPR-7246)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3413 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-11 13:28:14 +00:00
Juergen Hoeller b2f90a6be9 fixed JExcel example code (SPR-7277)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3412 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-11 10:49:41 +00:00
Oliver Gierke 20cb9addbd SPR-7103 - Added more detailed documentation on ordering of model attribute and BindingResult.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3388 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-07 20:57:55 +00:00
Juergen Hoeller a69098d60b fixed typo (SPR-7265)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3382 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-07 17:31:37 +00:00
Juergen Hoeller c171add6eb JodaTime 1.3 or higher required (SPR-7222)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3356 50f2f4bb-b051-0410-bef5-90022cba6387
2010-05-20 09:12:39 +00:00
Juergen Hoeller 2d67c052d0 fixed typos (SPR-7221)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3354 50f2f4bb-b051-0410-bef5-90022cba6387
2010-05-20 08:16:49 +00:00
Oliver Gierke be959708c7 Added myself and as author.
Added Dave and me in the copyright holder section, too.

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3352 50f2f4bb-b051-0410-bef5-90022cba6387
2010-05-19 05:52:51 +00:00
Oliver Gierke d19d06cde4 SPR-7186 Added section on generic advice parameters
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3351 50f2f4bb-b051-0410-bef5-90022cba6387
2010-05-19 05:52:47 +00:00
Oliver Gierke 98874899c5 Fixed year in copyright.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3350 50f2f4bb-b051-0410-bef5-90022cba6387
2010-05-19 05:52:44 +00:00
Juergen Hoeller 32a31fb7a2 removed ServerSessionMessageListenerContainer coverage
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3340 50f2f4bb-b051-0410-bef5-90022cba6387
2010-05-16 17:46:28 +00:00
Juergen Hoeller ed8025e750 fixed typos
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3339 50f2f4bb-b051-0410-bef5-90022cba6387
2010-05-16 17:32:01 +00:00
Luke Taylor 34595d7492 SPR-7158: Added missing space in MVC docbook file
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3333 50f2f4bb-b051-0410-bef5-90022cba6387
2010-05-14 14:04:56 +00:00
Costin Leau f868c794eb SPR-7163
SPR-7161
+ update Petclinic references
+ minor corrections

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3312 50f2f4bb-b051-0410-bef5-90022cba6387
2010-05-05 13:42:46 +00:00