Juergen Hoeller
f3e7fd9bc9
fixed ApplicationContext event processing for repeated invocations to non-singleton listener beans (SPR-7563)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3705 50f2f4bb-b051-0410-bef5-90022cba6387
2010-10-01 22:16:21 +00:00
Juergen Hoeller
a2aea5054d
revised "ClassUtils.isAssignable" semantics to cover primitives vs wrappers in both directions (SPR-7610)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3704 50f2f4bb-b051-0410-bef5-90022cba6387
2010-10-01 21:50:25 +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
Oliver Gierke
bff49b4c0d
SPR-7602 - Correctly shutdown Derby >= 10.6
...
The shutdown mechanism for in-memory databases has changed since 10.6. We now have to trigger 'drop' instead of 'shutdown'. Besides that we can skip purging the database manually in newer versions.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3700 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-30 17:56:41 +00:00
Juergen Hoeller
bb004e3ce7
fixed exists() check for resources in zipped files (SPR-7559)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3699 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-29 14:45:44 +00:00
Juergen Hoeller
0406836c2d
AspectJExpressionPointcut uses bean ClassLoader for initializing the AspectJ pointcut parser (SPR-7570)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3698 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-29 14:31:23 +00:00
Juergen Hoeller
17cc53d31d
fixed findPlaceholderEndIndex to work with a custom suffix as well (SPR-7574)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3697 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-29 14:01:54 +00:00
Juergen Hoeller
77e16a1a89
fixed Portlet UnavailableException tests (SPR-7542)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3696 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-29 13:45:50 +00:00
Juergen Hoeller
8a8a6dee7e
fixed Portlet UnavailableException tests (SPR-7542)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3695 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-29 13:31:53 +00:00
Juergen Hoeller
ae5ffd68f4
AnnotationSessionFactoryBean's "postProcessConfiguration" is non-final now (because of Hibernate 3.6; SPR-7581)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3694 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-29 13:22:24 +00:00
Juergen Hoeller
33c4c04276
made ResourceHttpRequestHandlerTests more reliable (SPR-7565)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3693 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-29 13:14:18 +00:00
Arjen Poutsma
4b3b5ccaac
SPR-7591 - HttpStatusCodeException should contain response body
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3692 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-24 10:06:52 +00:00
Costin Leau
1c156cce92
SPR-6819
...
+ change jpa Maven dependency from provided to compile
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3691 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-21 23:14:22 +00:00
Jeremy Grelle
51de2fc682
Minor correction to doc updates made as part of SPR-7545 - "cache-period" attribute was incorrectly documented as "cache-seconds".
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3690 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-17 18:50:01 +00:00
Chris Beams
32c08d1b3f
Review recent documentation and default servlet changes
...
- Relocate and fix typos in interface-based @RequestMapping tip (SPR-7537)
- Fix typos in constructor-arg 'name' disambiguation section (SPR-7443)
- Polish whitespace in DefaultServletHttpRequestHandler (SPR-7553)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3689 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-15 08:45:21 +00:00
Oliver Gierke
a83b8cbd90
SPR-7443 - Mentioned @ConstructorProperties in doc
...
If you want to reference parameters by name in XML
configuration you can also use @ConstructorProperties
to name the parameters in the class.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3688 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-15 08:13:12 +00:00
Oliver Gierke
8b794385a3
SPR-7443 - Constructor arg resolution by name (doc)
...
Added documentation on constructor argument
disambiguation by using the argument names.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3687 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-15 06:37:05 +00:00
Thomas Risberg
34cd15c631
changed the access of the "reconcileColumnsToUse" and "reconcileParameters" methods to protected (SPR-7556)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3686 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-14 15:48:03 +00:00
Oliver Gierke
9975f5ec19
SPR-7537 - Document proxying for MVC controllers
...
Extended documentation to include hints on what to
consider when working with proxied controllers.
Explained the necessity of moving @RequestMapping
annotations to the interface or use proxy-target-
class="true".
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3685 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-14 11:02:46 +00:00
Juergen Hoeller
a0c93b7e91
DispatcherPortlet throws custom NoHandlerFoundException instead of misleading UnavailableException (SPR-7542)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3684 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-14 06:43:53 +00:00
Juergen Hoeller
d09f1d4694
UriTemplate is serializable now (SPR-7541)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3683 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-14 05:37:30 +00:00
Juergen Hoeller
db51f1666e
ApplicationContext registers context-specific ClassArrayEditor for its bean ClassLoader (SPR-1461)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3682 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-14 05:09:08 +00:00
Jeremy Grelle
508217e113
SPR-7545 - Reference documentation now reflects the final state of the ResourceHttpRequestHandler and references the DefaultServletHttpRequestHandler properly.
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3681 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-13 23:06:06 +00:00
Chris Beams
781e1fec1b
Fix assumption about file-based Resources in PropertiesLoaderSupport (SPR-7547)
...
When using PropertiesLoaderSupport implementations (principally
PropertyPlaceholderConfigurer), an assumption was made that any
Resource representing a set of properties must be file-based. SPR-7547
exposed the fact that if a non-file-based Resource implementation such
as ByteArrayResource were passed in, an IllegalStateException would be thrown
from the AbstractResource base class' implementation of getFilename().
This is now patched, and PropertiesLoaderSupport implementations treat
Resource implementations equally, regardless of file-orientation.
See also SPR-7552.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3680 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-13 20:23:26 +00:00
Jeremy Grelle
41c5c62d2e
SPR-7553 - DefaultServletHttpRequestHandler fails on Google App Engine
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3679 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-13 19:58:26 +00:00
Chris Beams
5871cb4f35
Add @Ignored repro test for SPR-7538
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3677 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-10 16:32:20 +00:00
Juergen Hoeller
200df4e4e7
final preparations for 3.0.5
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3676 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-10 09:09:28 +00:00
Juergen Hoeller
cfcff0249f
EmbeddedDatabaseFactory shuts down database when failing to populate it in initDatabase (SPR-7536)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3675 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-10 09:07:20 +00:00
Juergen Hoeller
61fac7d457
final preparations for 3.0.5
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3674 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-09 22:14:51 +00:00
Juergen Hoeller
15a9570e95
polishing
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3673 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-09 22:14:36 +00:00
Juergen Hoeller
d46ab813d2
clearly document behavior with respect to beans of same name at different factory levels (SPR-6117)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3672 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-09 22:12:23 +00:00
Chris Beams
ea1ab292b4
Comment xsd-config-setup doc pending overhaul (SPR-7521)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3671 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-09 10:16:43 +00:00
Chris Beams
fa3d7adac3
Polish whitespace in docs
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3670 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-09 10:16:39 +00:00
Juergen Hoeller
6d8f287810
polishing
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3669 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-09 09:04:40 +00:00
Juergen Hoeller
80d214fd95
polishing
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3668 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-09 08:13:49 +00:00
Juergen Hoeller
91e6b8912a
expression parser stuff
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3667 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-08 22:53:54 +00:00
Juergen Hoeller
383b4c68a2
polishing
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3666 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-08 22:53:39 +00:00
Juergen Hoeller
e069c8fed6
updated version statement in javadoc
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3665 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-08 22:48:03 +00:00
Juergen Hoeller
f85bad07d6
LocalSessionFactoryBean's "entityCacheStrategies" works with region names on Hibernate 3.6 as well
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3664 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-08 22:45:58 +00:00
Thomas Risberg
cd7aece559
Polished the support for looking up column values by column label (SPR-7506)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3663 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-08 18:59:28 +00:00
Thomas Risberg
4be9b83c31
Added support for looking up column values by column label to support CachedRowSetImpl which doesn't allow for column label use (SPR-7506); added some generics;
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3662 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-08 18:46:21 +00:00
Juergen Hoeller
73480a5431
pass full TypeDescriptor context through to ConversionService calls (SPR-7519)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3661 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-08 17:26:02 +00:00
Chris Beams
6cb152cc09
Allow class-relative resource loading in GenericXmlApplicationContext (SPR-7530)
...
Before:
- new GenericXmlApplicationContext("com/acme/path/to/resource.xml");
- GenericXmlApplicationContext ctx = new GenericXmlApplicationContext();
ctx.load("com/acme/path/to/resource.xml");
ctx.refresh();
After:
- The above remain supported, as well as new class-relative variants
- import com.acme.path.to.Foo;
new GenericXmlApplicationContext(Foo.class, "resource.xml");
- import com.acme.path.to.Foo;
GenericXmlApplicationContext ctx = new GenericXmlApplicationContext();
ctx.load(Foo.class, "resource.xml");
ctx.refresh();
These changes are generally aligned with signatures long available in
ClassPathXmlApplicationContext. As GenericXmlApplicationContext is
intended to be a more flexible successor to CPXAC (and FSXAC), it's
important that all the same conveniences are available.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3660 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-08 15:30:48 +00:00
Juergen Hoeller
cc9cf5ce4f
@MVC fixes
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3659 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-08 14:48:52 +00:00
Juergen Hoeller
9e04940e1c
fixed @MVC processing of parameter-level annotations to work with interface-based proxies again (SPR-7483)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3658 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-08 14:45:00 +00:00
Juergen Hoeller
f835d5f604
revised @RequestParam processing to support CSV-to-array/collection binding with ConversionService (SPR-7479)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3657 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-08 13:56:42 +00:00
Arjen Poutsma
4904769bd8
Added XMLEventStreamWriter
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3656 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-08 12:52:23 +00:00
Juergen Hoeller
83e4e83e7b
revised @RequestParam processing to support CSV-to-array/collection binding with ConversionService (SPR-7479)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3655 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-08 12:39:57 +00:00