Commit Graph

3557 Commits

Author SHA1 Message Date
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
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
Chris Beams 5fdfeff503 Ignore OS X .DS_Store files
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3526 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-07 13:56:49 +00:00
Juergen Hoeller b4f2d35b49 PortletWrappingController supports Portlet 2.0 resource and event requests as well (SPR-7430)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3525 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-07 11:47:32 +00:00
Juergen Hoeller 104afdec3f Portlet AbstractController consistently uses session mutex if "synchronizeOnSession" is active
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3524 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-07 11:46:15 +00:00
Juergen Hoeller cf0d7dae3d reintroduced createInstance() template method in deprecated form (SPR-7428)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3523 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-07 11:16:46 +00:00
Juergen Hoeller 3af58a1434 added missing setter method for the "valueSeparator" property (SPR-7429)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3522 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-07 11:03:49 +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
Jeremy Grelle 66fc997f5d SPR-7116 - javadocs
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3518 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-02 22:37:14 +00:00
Juergen Hoeller fbc5081b0a JaxWsPortProxyFactoryBean takes "wsdlDocumentUrl", "namespaceUri" etc defaults from @WebService (SPR-7412)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3517 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-02 21:44:14 +00:00
Jeremy Grelle c7f1a2fd76 SPR-7116 - Simplified (removed gzip and white-listing) and completed XML namespace config.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3516 50f2f4bb-b051-0410-bef5-90022cba6387
2010-07-31 01:09:40 +00:00
Juergen Hoeller f9c20e30b5 ultimateTargetClass falls back to raw class instead of returning null
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3515 50f2f4bb-b051-0410-bef5-90022cba6387
2010-07-30 15:13:38 +00:00
Juergen Hoeller 74ac938aac AutodetectCapableMBeanInfoAssembler signature consistently refers to Class<?> (SPR-7405)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3514 50f2f4bb-b051-0410-bef5-90022cba6387
2010-07-29 20:29:32 +00:00
Juergen Hoeller 78f5cf16a0 fixed concurrency issue in TypedStringValue, showing for nested typed Maps in prototype beans (SPR-7398); optimized building of keyed arg names in BeanDefinitionValueResolver
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3513 50f2f4bb-b051-0410-bef5-90022cba6387
2010-07-29 13:49:09 +00:00
Jeremy Grelle 9406f95807 SPR-7116 further work in progress. Added white-listing by media type, checking MIME type from the ServletContext, and some additional validations.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3512 50f2f4bb-b051-0410-bef5-90022cba6387
2010-07-29 00:01:13 +00:00
Juergen Hoeller 250c3546b9 TaskExecutorFactoryBean (as used by task:executor) exposes full ThreadPoolTaskExecutor type (SPR-7403)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3511 50f2f4bb-b051-0410-bef5-90022cba6387
2010-07-28 17:39:03 +00:00
Jeremy Grelle 5e2f7c9c6f SPR-7116 work in progress. ResourceHttpRequestHandler is now functionally equivalent to the Spring JS ResourceServlet, with the exception of the resource concatenation feature (which will be deferred for reconsideration in 3.1).
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3510 50f2f4bb-b051-0410-bef5-90022cba6387
2010-07-27 04:45:43 +00:00
Juergen Hoeller b5656489d0 FilterDefinitionFactoryBean supports Hibernate 3.6.0.beta1 as well
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3509 50f2f4bb-b051-0410-bef5-90022cba6387
2010-07-27 00:04:23 +00:00
Juergen Hoeller 100735ed11 bunch of fixes for 3.0.4
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3508 50f2f4bb-b051-0410-bef5-90022cba6387
2010-07-26 21:03:55 +00:00
Juergen Hoeller 9fa2883ef7 turned TypeDescriptor.UNKNOWN into an internal detail (SPR-7349)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3507 50f2f4bb-b051-0410-bef5-90022cba6387
2010-07-26 20:55:14 +00:00
Juergen Hoeller cf7b934199 added further test case for property type detection with generic interface
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3506 50f2f4bb-b051-0410-bef5-90022cba6387
2010-07-26 20:39:27 +00:00
Juergen Hoeller db2a10a1eb avoid double ConversionFailedException nesting
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3505 50f2f4bb-b051-0410-bef5-90022cba6387
2010-07-26 20:33:34 +00:00
Juergen Hoeller 085449cf1e fixed @PathVariable regression in combination with ConversionService usage on DataBinder
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3504 50f2f4bb-b051-0410-bef5-90022cba6387
2010-07-26 20:14:57 +00:00
Juergen Hoeller a4d48f721c HibernateJpaDialect correctly closes borrowed connections even for nested JDBC executions (SPR-7393)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3503 50f2f4bb-b051-0410-bef5-90022cba6387
2010-07-26 12:33:37 +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
Juergen Hoeller 3c4ec9af4e fixed WeakReferenceMonitor to never stop its monitoring thread if an entry has been registered (SPR-7373)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3501 50f2f4bb-b051-0410-bef5-90022cba6387
2010-07-23 18:18:16 +00:00
Juergen Hoeller 0855014463 added license header
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3500 50f2f4bb-b051-0410-bef5-90022cba6387
2010-07-23 10:09:33 +00:00
Juergen Hoeller 1ba330c276 GenericTypeResolver works for nested parameterized types and for generic superclasses as well (SPR-7389)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3499 50f2f4bb-b051-0410-bef5-90022cba6387
2010-07-22 15:57:55 +00:00