Commit Graph
67 Commits
Author SHA1 Message Date
Michael Isvy 50da443eb3 SPR-7858
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3844 50f2f4bb-b051-0410-bef5-90022cba6387
2011-01-04 09:40:39 +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 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 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 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 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 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
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
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 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
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
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
Costin Leau 3dc6b94810 SPR-7090
+ fix doc typos

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3301 50f2f4bb-b051-0410-bef5-90022cba6387
2010-04-28 11:05:08 +00:00
Michael Isvy 97915e5bb7 SPR-6885
updates based on Chris Beams' comments.

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3031 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-23 15:46:52 +00:00
Michael Isvy 2a477a9598 SPR-6885
Improved documentation for JavaConfig's use of CGLIB for all @Configuration annotated classes

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3027 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-22 13:50:41 +00:00
Michael Isvy 9fc396ae8c fixed SPR-6846
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2987 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-15 22:45:26 +00:00
Sam Brannen b8186cd120 [SPR-6821] Removed lingering reference to StandardScopes.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2946 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-10 21:35:26 +00:00
Costin Leau 107a5c10f7 SPR-5379
+ added clarifications to section 3.4.5.2 Excluding a bean from autowiring

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2935 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-09 12:23:12 +00:00
Costin Leau b443d3ad7a SPR-5246
+ clarify order of annotation and XML injection

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2934 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-09 11:17:07 +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
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
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
Juergen Hoeller 17ebfdd6f1 fixed link to blog entry (SPR-6691)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2812 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-14 16:55:33 +00:00
Juergen Hoeller 95015712fc fixed "inner vs. nested class" terminology (SPR-6608)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2754 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-05 14:01:30 +00:00
Juergen Hoeller 39ca200ba9 fixed JavaConfig sample code (SPR-6637, SPR-6638)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2750 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-05 12:58:41 +00:00
Chris Beams f146cb6ec7 SJC-273 resolved minor @Configuration documentation error
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2722 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-28 07:00:49 +00:00
Chris Beams 9efc62b34a Resolved SPR-6187: touch-ups based on mfisher's feedback.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2689 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-16 08:44:54 +00:00
Chris Beams c4d1940d06 SPR-6187: Document @Configuration classes and AnnotationConfig[Web]ApplicationContext
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2669 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-15 11:04:25 +00:00
Arjen Poutsma 991f040948 Updated docbook files to use Docbook 4.5 DTDs, so it uses the locally cached versions
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2617 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-10 15:22:55 +00:00
Mark Fisher 904e37f1d1 SPR-6341 Added documentation for Lifecycle, SmartLifecycle, and LifecycleProcessor in the 'beans' chapter after init/destroy callbacks are covered.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2538 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-28 00:02:30 +00:00
Keith Donald d4b2d136d6 fixed typo
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2434 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-13 19:45:57 +00:00
Luke Taylor 5b0faab834 SPR-6220: Corrected spelling of 'DataSource'
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2407 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-12 16:53:06 +00:00
David Syer 72b0ef5391 SPR-6257: Resolved in beans.xml
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2190 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-27 11:56:06 +00:00
Sam Brannen 1a53314e92 Corrected typos and cleaned up DocBook structure.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2046 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-03 23:45:23 +00:00
Mark Pollack 155f72460e Add minimal doc for JSR 330 support.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2003 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-25 08:17:12 +00:00
Chris Beams ef0c822610 updates made during my review of beans.xml:
* eliminated all usage of "the section entitled", because <xref> links already render including "the section called ".  This was resulting in sentences like 'see also the section entitled the section called "@Autowired"'. This issue affected nearly all sections of the documentation, so went beyond just beans.xml

* fixed table overflow in the "Using filters to customize scanning" section (approx. p.90)

* fixed all code overflows in <programlisting/> elements

* corrected a couple minor syntax errors with SpEL examples (missing closing braces)

* added 'language="..."' element to <programlisting> elements where appropriate to enable syntax highlighting.

* normalized all code indention to four-space (some code listings were using one- and two-space)

* updated all code listings to use same-line opening braces.

* eliminated section regarding backward compatibility with Spring DTDs and singleton=true|false.  This seems like cruft to me, and we shouldn't keep historical notes around forever.

* Added <note> regarding the new thread scope (SimpleThreadScope) to Section 3.5 Bean Scopes.  Also updated the section on registering a custom Scope implementation to use the SimpleThreadScope as an example.

* updated the new-in-3.xml section to improve the @Configuration example


git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1790 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-31 05:36:34 +00:00
Chris Beams b10ae65e75 s/(init|destroy)MethodName/(init|destroy)Method/ to reflect recent changes made when porting @Bean to Spring core.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1758 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-25 05:10:42 +00:00
Mark Pollack 62299850fe SPR-5979 - Reference guide refers to non-existing type StandardScopes
SPR-5965 - Typo error in reference documentation - "What's new in Spring 3.0"

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1697 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-05 19:02:55 +00:00
Mark Pollack b214a3ef45 Finished applying Beverly's edits
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1587 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-22 04:53:58 +00:00
Mark Pollack 05215c7d5b Applied and reviewed Beverly's final edits up to section "beans-factory-scopes"
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1546 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-16 06:41:52 +00:00
Mark Pollack 53e3feb947 Beverly's edits reviewed.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1545 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-16 03:17:53 +00:00
Mark Pollack 2b8a06d873 Beverly's copy edits - to be reviewed.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1455 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-01 15:24:04 +00:00
Thomas Risberg 65a8b3cd43 removed some instances of unnecessary <value></value> elements
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1434 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-26 03:37:18 +00:00
Mark Pollack a2bc1bbec2 clean up use of old <value></value> usage.
Refer to STS and p-namespace 

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1403 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-19 13:43:33 +00:00
Mark Pollack bce69da6db minor cleanup
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1386 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-16 02:37:19 +00:00
Mark Pollack be78d484ff Remove the emphasis on BeanFactory and replace with use of ApplicationContext
Remove example of ObjectFactoryCreatingFactoryBean
Some chapter restructuring
More explicit listings of non-XML based configuration options.

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1374 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-12 21:01:05 +00:00