Commit Graph

446 Commits

Author SHA1 Message Date
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
Sam Brannen 80fde6cd3a [SPR-7849] revised the testing chapter based on internal review and new insight.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3914 50f2f4bb-b051-0410-bef5-90022cba6387
2011-01-21 00:23:34 +00:00
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
Sam Brannen 3be55ad10b [SPR-7849] work in progress: revising the testing chapter based on internal review.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3837 50f2f4bb-b051-0410-bef5-90022cba6387
2010-12-30 06:19:58 +00:00
Sam Brannen 5f6d5e55d1 [SPR-7849] work in progress: revising the testing chapter based on internal review.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3836 50f2f4bb-b051-0410-bef5-90022cba6387
2010-12-30 05:47:23 +00:00
Sam Brannen f78d0a4afc [SPR-7848] Improved readability, grammar, and formatting of the Container Extension Points section of the reference manual.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3835 50f2f4bb-b051-0410-bef5-90022cba6387
2010-12-30 02:07:22 +00:00
Oliver Gierke 27d390c221 SPR-2946 - Corrected documentation for lazy-init behaviour on Bean(Factory)PostProcessors.
Changed the documentation to correctly state that B(F)PP are instantiated eagerly no matter if they are explicitly marked as to be lazy initialized or the default-lazy-init attribute is used at a <beans /> element.

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3834 50f2f4bb-b051-0410-bef5-90022cba6387
2010-12-28 10:06:00 +00:00
Oliver Gierke 5e40c020fb SPR-7674 - Documented value defaulting in Spring EL
Added short note of how to use the Elvis operator for defaulting values in the Spring expression language sections.

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3833 50f2f4bb-b051-0410-bef5-90022cba6387
2010-12-28 09:42:58 +00:00
Costin Leau 4e90c0a81f SPR-7308
+ wrapping up cache documentation
+ plug in cache docs

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3832 50f2f4bb-b051-0410-bef5-90022cba6387
2010-12-27 18:36:57 +00:00
Costin Leau c84ffae75c SPR-7308
+ draft cache documentation

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3829 50f2f4bb-b051-0410-bef5-90022cba6387
2010-12-21 17:13:17 +00:00
Costin Leau 1c78f37462 +SPR-7470
+ minor adjustments


git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3817 50f2f4bb-b051-0410-bef5-90022cba6387
2010-12-16 10:28:56 +00:00
Costin Leau 1feb389e27 SPR-7470
+ add basic documentation for c: namespace

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3814 50f2f4bb-b051-0410-bef5-90022cba6387
2010-12-15 16:12:54 +00:00
Costin Leau 0e94956e1e fixed mistake in jmx docs (SPR-977)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3813 50f2f4bb-b051-0410-bef5-90022cba6387
2010-12-15 15:13:23 +00:00
Arjen Poutsma 716dd4a383 Docs
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3751 50f2f4bb-b051-0410-bef5-90022cba6387
2010-10-13 14:19:48 +00:00
Oliver Gierke 5c7a62ce60 SPR-7641 - Added Principal to listing of supported method parameter types.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3737 50f2f4bb-b051-0410-bef5-90022cba6387
2010-10-11 19:59:16 +00:00
Oliver Gierke d7f78103e7 SPR-7651 - Document limitations of @Async.
* documented that @Async can't be used in conjunction with lifecycle callbacks such as @PostConstruct
* provide sample for workaround
* added semantic markup for code

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3703 50f2f4bb-b051-0410-bef5-90022cba6387
2010-10-01 09:44:55 +00:00
Oliver Gierke e92f2d8419 Formatting for scheduling.xml.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3702 50f2f4bb-b051-0410-bef5-90022cba6387
2010-10-01 09:44:52 +00:00
Oliver Gierke 180a9c5b00 SPR-7609 - Fixed typos in JMS documentation.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3701 50f2f4bb-b051-0410-bef5-90022cba6387
2010-10-01 06:52:08 +00:00