Commit Graph

463 Commits

Author SHA1 Message Date
Sam Brannen c3affadc55 [SPR-7858] polishing formatting, grammar, etc.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4682 50f2f4bb-b051-0410-bef5-90022cba6387
2011-07-07 11:55:00 +00:00
Michael Isvy f16c72c3e1 SPR-7858
removed references to JSR 330  since there is now a dedicated JSR 330 section inside beans-standard-annotations.xml

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4677 50f2f4bb-b051-0410-bef5-90022cba6387
2011-07-06 06:15:27 +00:00
Michael Isvy b4b3df07c7 SPR-7858
removed reference to JSR 330's @Named since there is now a dedicated JSR 330 section inside beans-standard-annotations.xml

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4676 50f2f4bb-b051-0410-bef5-90022cba6387
2011-07-06 06:14:48 +00:00
Michael Isvy 28b6b1e496 SPR-7858
minor wording change

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4675 50f2f4bb-b051-0410-bef5-90022cba6387
2011-07-06 06:13:21 +00:00
Michael Isvy 0f14bd5263 SPR-7858
removed reference to @Provider

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4674 50f2f4bb-b051-0410-bef5-90022cba6387
2011-07-06 06:12:46 +00:00
Costin Leau 08fc4f9015 SPR-8477
+ add no-op cache implementations suitable for cache declarations w/o a backing store

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4641 50f2f4bb-b051-0410-bef5-90022cba6387
2011-06-30 18:17:39 +00:00
Rossen Stoyanchev 538364c966 SPR-8483 Add support for @RequestPart annotated method parameters
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4637 50f2f4bb-b051-0410-bef5-90022cba6387
2011-06-28 19:22:33 +00:00
Rossen Stoyanchev 7f0f60575d SPR-7608 Add several sections to the reference docs on working with the @ModelAttribute annotation. Specifically the goal was to cover the abitlity for an @ModelAttribute argument to be instantiated from a URI template variable with the help of a Converter or a PropertyEditor.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4631 50f2f4bb-b051-0410-bef5-90022cba6387
2011-06-27 21:12:58 +00:00
Rossen Stoyanchev 591f19c4cf SPR-7746 Add examples of using regex in URI template vars and working with 'Last-Modified' HTTP requests
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4618 50f2f4bb-b051-0410-bef5-90022cba6387
2011-06-23 15:28:57 +00:00
Chris Beams 1a4173d763 Clarify BeanPostProcessor ordering rules in ref doc
Issue: SPR-7550

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4588 50f2f4bb-b051-0410-bef5-90022cba6387
2011-06-20 06:48:36 +00:00
Chris Beams 089dd342e6 Fix non-compilable example in mvc ref doc
Issue: SPR-7750

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4569 50f2f4bb-b051-0410-bef5-90022cba6387
2011-06-17 10:14:36 +00:00
Chris Beams 02312e578a Prefer / or /app/* over /main in servlet examples
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4562 50f2f4bb-b051-0410-bef5-90022cba6387
2011-06-16 22:42:50 +00:00
Chris Beams 1cc3d3d46e Fix html{Encoding=>Escape} typo in spring.tld.xml
Issue: SPR-8380

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4518 50f2f4bb-b051-0410-bef5-90022cba6387
2011-06-13 08:41:06 +00:00
Chris Beams 6e3189bee0 Add @EnableLoadTimeWeaving to "New in 3.1" ref doc
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4498 50f2f4bb-b051-0410-bef5-90022cba6387
2011-06-09 02:53:57 +00:00
Juergen Hoeller b95c43e913 added section on JPA EntityManagerFactory bootstrapping without persistence.xml
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4491 50f2f4bb-b051-0410-bef5-90022cba6387
2011-06-08 08:03:03 +00:00
Thomas Risberg e8404a33ee fixed duplicate section ids
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4476 50f2f4bb-b051-0410-bef5-90022cba6387
2011-06-06 13:30:41 +00:00
Rossen Stoyanchev bbb51ad475 Updates to whats new in Spring 3.1 section
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4468 50f2f4bb-b051-0410-bef5-90022cba6387
2011-06-05 21:45:31 +00:00
Sam Brannen 6a509f49b0 [SPR-8240][SPR-8401] Documenting @Configuration class and @ActiveProfiles support in the TestContext framework.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4465 50f2f4bb-b051-0410-bef5-90022cba6387
2011-06-05 19:23:29 +00:00
Thomas Risberg f52a34e5b3 Added batchUpdate method taking a Collection, a batch size and a ParameterizedPreparedStatementSetter as arguments (SPR-6334)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4457 50f2f4bb-b051-0410-bef5-90022cba6387
2011-06-05 16:42:24 +00:00
Chris Beams ce08298e01 Add "What's new in Spring 3.1" to ref docs
Issue: SPR-8399

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4449 50f2f4bb-b051-0410-bef5-90022cba6387
2011-06-04 12:46:28 +00:00
Chris Beams 1c539e8a65 Rename ref docs section new-in-3 => new-in-3.0
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4448 50f2f4bb-b051-0410-bef5-90022cba6387
2011-06-04 12:45:58 +00:00
Chris Beams 235f3678ef Remove unused 'new-in-2' ref doc xml
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4447 50f2f4bb-b051-0410-bef5-90022cba6387
2011-06-04 12:45:31 +00:00
Chris Beams f852276232 Fix broken links in ref docs
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4446 50f2f4bb-b051-0410-bef5-90022cba6387
2011-06-04 12:45:11 +00:00
Rossen Stoyanchev ad81cb5fcc SPR-8391 Minor documentation fixes
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4434 50f2f4bb-b051-0410-bef5-90022cba6387
2011-06-03 09:50:12 +00:00
Rossen Stoyanchev 5d69429178 SPR-6709 Handle RequestBodyNotValidException and update reference docs
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4423 50f2f4bb-b051-0410-bef5-90022cba6387
2011-06-02 18:27:50 +00:00
Rossen Stoyanchev d2a4316a70 SPR-8218 MVC chapter updates
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4366 50f2f4bb-b051-0410-bef5-90022cba6387
2011-05-27 17:09:53 +00:00
Rossen Stoyanchev 6e86bc5bc2 SPR-7353 Doc update for consumes/produces + changelog update
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4327 50f2f4bb-b051-0410-bef5-90022cba6387
2011-05-19 13:05:53 +00:00
Costin Leau 7a91725ba6 revised cache abstraction
- removed generics from Cache/CacheManager (they add no value since it's an SPI not API)
+ update docs and tests
+ renamed ConcurrentCacheFactoryBean to ConcurrentMapCacheFactoryBean

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4326 50f2f4bb-b051-0410-bef5-90022cba6387
2011-05-18 18:34:41 +00:00
Rossen Stoyanchev 89b5be3754 SPR-2692 Update mvc chapter with URI template support in redirect: view names
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4310 50f2f4bb-b051-0410-bef5-90022cba6387
2011-05-16 13:24:42 +00:00
Costin Leau 90a0504c5c SPR-8256
+ fix small doc typo

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4303 50f2f4bb-b051-0410-bef5-90022cba6387
2011-05-13 15:40:12 +00:00
Chris Beams 31bc941b28 Document @Autowired and @Value limitations
@Autowired, @Value and other annotations cannot be applied within
Spring Bean(Factory)PostProcessor types, because they themselves
are processed using BeanPostProcessors.  Javadoc and reference docs
have been updated to reflect.

Issue: SPR-4935, SPR-8213

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4300 50f2f4bb-b051-0410-bef5-90022cba6387
2011-05-13 03:41:29 +00:00
Chris Beams 4e1de28861 Remove "@BeanAge" from reference documentation
Issue: SPR-8327

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4299 50f2f4bb-b051-0410-bef5-90022cba6387
2011-05-13 03:40:26 +00:00
Costin Leau 32121f3664 SPR-8256
+ doc updates

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4278 50f2f4bb-b051-0410-bef5-90022cba6387
2011-05-09 17:40:23 +00:00
Chris Beams 999100e7a2 Fix typo in aop reference documentation
Issue: SPR-8268

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4239 50f2f4bb-b051-0410-bef5-90022cba6387
2011-04-26 07:44:40 +00:00
Costin Leau a653a50be8 SPR-8007
SPR-7832
+ expose the invocation params through the cache root object
+ update javadocs


git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4114 50f2f4bb-b051-0410-bef5-90022cba6387
2011-03-28 11:36:05 +00:00
Chris Beams ea5b4c4b21 Docs reflect bean id change from xsd:ID->xsd:string
Issue: SPR-8054

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4091 50f2f4bb-b051-0410-bef5-90022cba6387
2011-03-14 11:10:12 +00:00
Sam Brannen a89b9c69f9 [SPR-8030] Updated reference manual regarding deprecation of JUnit 3.8 base classes.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4086 50f2f4bb-b051-0410-bef5-90022cba6387
2011-03-13 00:25:58 +00:00
Chris Beams d0a22cd2ce Fix 'Dymaic'->'Dynamic' typo in graphic (SPR-7715)
Also regenerate all OmniGraffle-based PNG graphics for color consistency

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4077 50f2f4bb-b051-0410-bef5-90022cba6387
2011-03-10 14:09:11 +00:00
Costin Leau 401cc86d90 + fix missing tag
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4069 50f2f4bb-b051-0410-bef5-90022cba6387
2011-03-07 12:59:04 +00:00
Costin Leau 1eb54b700d SPR-8015
+ update default key generator strategy to improve compatibility for implicit declaration on one arg method
+ updated docs


git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4066 50f2f4bb-b051-0410-bef5-90022cba6387
2011-03-06 17:13:24 +00:00
Sam Brannen 5cdc285aba Fixed typos
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4060 50f2f4bb-b051-0410-bef5-90022cba6387
2011-03-04 23:12:09 +00:00
Rossen Stoyanchev ea6f6d9696 SPR-7406 Improve documentation on handler method parameter type conversion.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4059 50f2f4bb-b051-0410-bef5-90022cba6387
2011-03-04 19:59:16 +00:00
Rossen Stoyanchev 8f5dc17ebc SPR-6932 Add option to extract value from single-key models in MappingJacksonJsonView
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4058 50f2f4bb-b051-0410-bef5-90022cba6387
2011-03-04 14:19:14 +00:00
Rossen Stoyanchev a9ddca1100 Improve docs for MvcDefaultServletHandler container feature.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4056 50f2f4bb-b051-0410-bef5-90022cba6387
2011-03-01 14:32:34 +00:00
Costin Leau eda0a1049f + add missing # to SpEL variables
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4035 50f2f4bb-b051-0410-bef5-90022cba6387
2011-02-24 15:06:03 +00:00
Chris Beams dc22760978 Introduce FeatureSpecification support
Introduce FeatureSpecification interface and implementations

    FeatureSpecification objects decouple the configuration of
    spring container features from the concern of parsing XML
    namespaces, allowing for reuse in code-based configuration
    (see @Feature* annotations below).

    * ComponentScanSpec
    * TxAnnotationDriven
    * MvcAnnotationDriven
    * MvcDefaultServletHandler
    * MvcResources
    * MvcViewControllers

Refactor associated BeanDefinitionParsers to delegate to new impls above

    The following BeanDefinitionParser implementations now deal only
    with the concern of XML parsing.  Validation is handled by their
    corresponding FeatureSpecification object.  Bean definition creation
    and registration is handled by their corresponding
    FeatureSpecificationExecutor type.

    * ComponentScanBeanDefinitionParser
    * AnnotationDrivenBeanDefinitionParser (tx)
    * AnnotationDrivenBeanDefinitionParser (mvc)
    * DefaultServletHandlerBeanDefinitionParser
    * ResourcesBeanDefinitionParser
    * ViewControllerBeanDefinitionParser

Update AopNamespaceUtils to decouple from XML (DOM API)

    Methods necessary for executing TxAnnotationDriven specification
    (and eventually, the AspectJAutoProxy specification) have been
    added that accept boolean arguments for whether to proxy
    target classes and whether to expose the proxy via threadlocal.

    Methods that accepted and introspected DOM Element objects still
    exist but have been deprecated.

Introduce @FeatureConfiguration classes and @Feature methods

    Allow for creation and configuration of FeatureSpecification objects
    at the user level.  A companion for @Configuration classes allowing
    for completely code-driven configuration of the Spring container.

    See changes in ConfigurationClassPostProcessor for implementation
    details.

    See Feature*Tests for usage examples.

    FeatureTestSuite in .integration-tests is a JUnit test suite designed
    to aggregate all BDP and Feature* related tests for a convenient way
    to confirm that Feature-related changes don't break anything.
    Uncomment this test and execute from Eclipse / IDEA. Due to classpath
    issues, this cannot be compiled by Ant/Ivy at the command line.

Introduce @FeatureAnnotation meta-annotation and @ComponentScan impl

    @FeatureAnnotation provides an alternate mechanism for creating
    and executing FeatureSpecification objects.  See @ComponentScan
    and its corresponding ComponentScanAnnotationParser implementation
    for details.  See ComponentScanAnnotationIntegrationTests for usage
    examples

Introduce Default[Formatting]ConversionService implementations

    Allows for convenient instantiation of ConversionService objects
    containing defaults appropriate for most environments.  Replaces
    similar support originally in ConversionServiceFactory (which is now
    deprecated). This change was justified by the need to avoid use
    of FactoryBeans in @Configuration classes (such as
    FormattingConversionServiceFactoryBean). It is strongly preferred
    that users simply instantiate and configure the objects that underlie
    our FactoryBeans. In the case of the ConversionService types, the
    easiest way to do this is to create Default* subtypes. This also
    follows convention with the rest of the framework.

Minor updates to util classes

    All in service of changes above. See diffs for self-explanatory
    details.

    * BeanUtils
    * ObjectUtils
    * ReflectionUtils

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3954 50f2f4bb-b051-0410-bef5-90022cba6387
2011-02-08 14:42:33 +00:00
Costin Leau 38a49f088e SPR-4331
docs for LTW for WebSphere


git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3934 50f2f4bb-b051-0410-bef5-90022cba6387
2011-02-01 10:18:06 +00:00
Costin Leau 33dcc26b96 SPR-7887
+ add note about JBoss 6

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3931 50f2f4bb-b051-0410-bef5-90022cba6387
2011-01-31 16:53:56 +00:00
Rossen Stoyanchev 26c92551dd SPR-7912 Add tests for FormattingConversionServiceFactoryBean, update reference docs, and remove mvc:formatters
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3928 50f2f4bb-b051-0410-bef5-90022cba6387
2011-01-27 11:26:19 +00:00
Sam Brannen 59572b2057 [SPR-7849] fixed link to Goals section and updated EasyMock description.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3916 50f2f4bb-b051-0410-bef5-90022cba6387
2011-01-21 11:48:30 +00:00