Commit Graph

3373 Commits

Author SHA1 Message Date
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
Arjen Poutsma 63962b1ff1 Typo
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3498 50f2f4bb-b051-0410-bef5-90022cba6387
2010-07-22 09:31:01 +00:00
Chris Beams 4aa9dd55d3 Remove redundant @Aspect from CodeStyleAspect.aj
This has been present for quite some time, and compilation at the
command line was never a problem.  However, after upgrading to
STS 2.3.3.M2, errors started appearing in the Problems tab about
'duplicate @Aspect annotations'.  This message was a bit misleading
given that the underlying issue is that applying an @Aspect annotation
on an aspect declared in .aj style is redundant.  Andy Clement is
investigating as well, but for now the reason for the change in behavior
remains a mystery.

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3497 50f2f4bb-b051-0410-bef5-90022cba6387
2010-07-21 19:18:11 +00:00
Juergen Hoeller 63bfe5e8e4 Spring field error arguments include actually declared annotation attributes in alphabetical order (SPR-6730)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3496 50f2f4bb-b051-0410-bef5-90022cba6387
2010-07-21 14:24:10 +00:00
Chris Beams 3f51f1dc14 Fix dependency issues in .context pom and .classpath
Hibernate validator had been updated to 4.1.0 in the ivy metadata, but
not yet reflected in the .classpath file.  The pom.xml had been updated
but there was a typo - scope read 'coompile', instead of 'compile'.

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3495 50f2f4bb-b051-0410-bef5-90022cba6387
2010-07-21 12:04:06 +00:00
Chris Beams da4d3e8a15 Add .springBeans to .gitignore
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3494 50f2f4bb-b051-0410-bef5-90022cba6387
2010-07-21 12:04:03 +00:00
Juergen Hoeller e14d7e8efb allow for converting a property value based on the corresponding property name (SPR-7386)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3493 50f2f4bb-b051-0410-bef5-90022cba6387
2010-07-21 11:17:44 +00:00
Juergen Hoeller 038ee9ff86 polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3492 50f2f4bb-b051-0410-bef5-90022cba6387
2010-07-20 20:02:43 +00:00
Juergen Hoeller 424e10e173 JSR-303 Pattern message resolvable through Spring MessageSource (despite special characters; SPR-7329)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3491 50f2f4bb-b051-0410-bef5-90022cba6387
2010-07-20 20:02:23 +00:00
David Syer 5252d9c1ec Fix hibernate-validatin version
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3490 50f2f4bb-b051-0410-bef5-90022cba6387
2010-07-20 15:41:41 +00:00
David Syer b1c2d1ea2c SPR-7384: switch to using 1-12 for month numbers
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3489 50f2f4bb-b051-0410-bef5-90022cba6387
2010-07-20 15:25:00 +00:00
Arjen Poutsma df00d608e2 SPR-7381 - HTTP headers returned as part of ResponseEntity(MultiValueMap<String, String> headers, HttpStatus statusCode) are ignored when using this constructor
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3488 50f2f4bb-b051-0410-bef5-90022cba6387
2010-07-16 13:47:19 +00:00
Arjen Poutsma 5592c72b25 SPR-7345 - HTTP 405 (Method not supported) returned when 404 Status (Not Found) was expected
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3487 50f2f4bb-b051-0410-bef5-90022cba6387
2010-07-16 10:06:19 +00:00
Juergen Hoeller a552eed0c7 DefaultMessageListenerContainer triggers Session commit even if no message has been received (SPR-7366)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3486 50f2f4bb-b051-0410-bef5-90022cba6387
2010-07-15 19:43:56 +00:00
Juergen Hoeller 8e826873ca fixed JMS CachingConnectionFactory to correctly cache a producer without fixed destination as well (SPR-7148)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3485 50f2f4bb-b051-0410-bef5-90022cba6387
2010-07-15 17:05:30 +00:00
Arjen Poutsma 4852217b79 SPR-7346 - @RequestHeader negation expressions (e.g. !Accept=text/plain) are not applied
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3484 50f2f4bb-b051-0410-bef5-90022cba6387
2010-07-15 08:49:18 +00:00
Juergen Hoeller ef50421325 BeanWrapper, EvalTag, etc
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3483 50f2f4bb-b051-0410-bef5-90022cba6387
2010-07-12 21:05:30 +00:00
Juergen Hoeller 3d06c7229c BeanWrapper preserves annotation information for individual array/list/map elements (SPR-7348)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3482 50f2f4bb-b051-0410-bef5-90022cba6387
2010-07-12 20:56:22 +00:00
Juergen Hoeller c04668931d polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3481 50f2f4bb-b051-0410-bef5-90022cba6387
2010-07-12 19:54:37 +00:00
Juergen Hoeller 37bc8cf630 MVC HandlerExceptionResolvers prevent caching for exception views if preventResponseCaching=true (SPR-7334)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3480 50f2f4bb-b051-0410-bef5-90022cba6387
2010-07-12 19:54:05 +00:00
Juergen Hoeller 6b55137d3e JSP EvalTag resolves "@myBeanName" references in expressions against the WebApplicationContext (SPR-7312); for consistency, expressions in an ApplicationContext support the same syntax against the local BeanFactory
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3479 50f2f4bb-b051-0410-bef5-90022cba6387
2010-07-12 19:36:26 +00:00
Juergen Hoeller ee3a08cefa JmsResourceHolder does not ignore IllegalStateException from locally synchronized transaction (SPR-7360)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3478 50f2f4bb-b051-0410-bef5-90022cba6387
2010-07-08 12:15:35 +00:00
Juergen Hoeller cac618f38e DefaultJdoDialect supports JDO 3.0 query timeout facility (as supported by DataNucleus 2.1)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3477 50f2f4bb-b051-0410-bef5-90022cba6387
2010-07-08 11:47:30 +00:00
Juergen Hoeller 5fd165b4ec polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3476 50f2f4bb-b051-0410-bef5-90022cba6387
2010-07-08 11:45:52 +00:00
Juergen Hoeller 9a30fdb3b5 @ExceptionHandler works for inherited method and CGLIB proxies on Portlet controllers as well (SPR-7337)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3475 50f2f4bb-b051-0410-bef5-90022cba6387
2010-07-08 11:45:35 +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
Andy Clement 3f09b6a313 SPR-7335: support for expression inline lists and array construction
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3473 50f2f4bb-b051-0410-bef5-90022cba6387
2010-07-06 21:00:54 +00:00
Andy Clement 8d0e8fe165 SPR-7343: StandardEvaluationContext not threadsafe in its lazy initialization
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3472 50f2f4bb-b051-0410-bef5-90022cba6387
2010-07-02 16:08:25 +00:00
Andy Clement bef5616753 polish
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3471 50f2f4bb-b051-0410-bef5-90022cba6387
2010-07-02 16:07:13 +00:00
Andy Clement 748b6a4ec9 polish
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3470 50f2f4bb-b051-0410-bef5-90022cba6387
2010-07-02 16:06:59 +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
Chris Beams 13bdd249b7 licensing header
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3468 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-28 23:20:44 +00:00
Chris Beams 49ae2e809d attempted to repro SPR-7318 to no avail
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3467 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-28 22:57:26 +00:00
Juergen Hoeller 0d6536ca53 added "validationMessageSource" property to LocalValidatorFactoryBean, for Spring-based messages (SPR-7307)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3466 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-28 22:08:31 +00:00
Juergen Hoeller 188efe752e transaction names based on method id from most specific method (target class instead of interface; SPR-7317)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3465 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-28 19:47:13 +00:00