Juergen Hoeller
b9f25bc30b
polishing
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@643 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-16 01:43:49 +00:00
Juergen Hoeller
c6b1150adc
default post-processors use their default component order now
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@642 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-16 01:43:24 +00:00
Juergen Hoeller
4c5ab74c41
pre-converted property values are preserved more eagerly for re-created beans (SPR-5293)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@641 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-16 01:36:13 +00:00
Juergen Hoeller
07a691a575
bridge method resolution works with Hibernate-generated CGLIB proxies as well (SPR-5414)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@640 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-16 01:35:35 +00:00
Juergen Hoeller
dc2c73743e
ASM-based AnnotationMetadata fully resolves class arguments and enums into Java types (SPR-5477, SPR-5479)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@639 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-15 21:50:01 +00:00
Juergen Hoeller
e19066141f
@RequestMapping type-level param constraints taken into account consistently
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@638 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-15 21:31:20 +00:00
Juergen Hoeller
4a1014eef7
generified TransactionCallback; WebSphereUowTransactionManager preserves original exception in case of rollback (SPR-5270)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@637 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-15 19:48:18 +00:00
Chris Beams
dff1f12fb0
Remapped static resources as /petclinic/static/images/...
...
Renamed tutorial from petclinic.html -> tutorial.html
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@636 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-14 21:50:51 +00:00
Chris Beams
9f3c071fd1
Polishing the new RESTful interface to the petclinic webapp (SPR-5487):
...
* Eliminated redundant 'clinic' servlet mapping (was: http://localhost:8080/petclinic/clinic/owners ; now: http://localhost:8080/petclinic/owners )
* A parameterless GET for /owners now returns the list of all owners, rather than an error.
* /owners/form is now /owners/search (distinguishes the 'search form' resource from the 'edit owner form' resource)
* Eliminated any need for redirects, <welcome-file-list/>, and index.jsp. Deleted all of them.
* Updated /owners/{oid}/edit to submit using PUT instead of POST
* Updated URI for edit pet form from /owners/{oid}/pets/{pid} to /owners/{oid}/pets/{pid}/edit (the edit form is a distinct resource)
* Updated /owners/{oid}/pets/{pid}/edit to submit using PUT instead of POST
Changes unrelated to the web interface:
* Partitioned up JSPs into new owners, pets, and vets folders.
* Renamed those JSPs, e.g. ownerForm.jsp -> owners/form.jsp; findOwners.jsp -> owners/search.jsp; owners.jsp -> owners/list.jsp
* Updated various controllers to respect the changes to the URI templates, etc.
* Updated .classpath to include all necessary projects and libs to run the webapp successfully in WTP
* Updated JSP error checking rules to relax validation of fragments like header.jsp and footer.jsp
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@635 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-14 09:11:14 +00:00
Chris Beams
ec7ffc0f99
* Updated Eclipse classpath metadata
...
* Fixed (or suppressed as necessary) JSP errors in petclinic
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@634 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-14 03:09:59 +00:00
Juergen Hoeller
af7518626f
TypeUtils detects variations of ParameterizedType/GenericArrayType assignability as well
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@633 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-13 12:17:48 +00:00
Juergen Hoeller
319fbf783b
UrlResource eagerly closes HTTP connections in case of "getInputStream()" failure (SPR-5338)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@632 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-13 12:16:11 +00:00
Juergen Hoeller
c64962792a
completed documentation on session destruction callbacks
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@631 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-13 11:51:53 +00:00
Juergen Hoeller
baa83177f9
optional boolean parameters in MVC handler methods resolve to "false" if not present
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@630 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-13 11:46:55 +00:00
Arjen Poutsma
f7a6d46de1
Test for SPR-5362
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@629 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-13 10:32:22 +00:00
Ben Hale
9a190aa183
Upgrade to spring-build
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@628 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-13 10:30:33 +00:00
Juergen Hoeller
06451988d6
fixed MessageListenerAdapter's "getSubscriptionName()" to work without delegate as well (SPR-5309)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@627 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-13 09:15:43 +00:00
Juergen Hoeller
1cf413bd2e
ReflectionUtils findMethod detects methods on "java.lang.Object" as well
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@626 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-13 09:14:08 +00:00
Juergen Hoeller
905c8fe509
polishing
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@625 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-13 09:11:03 +00:00
Juergen Hoeller
613f744990
generic collection type resolution respects upper bound as well
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@624 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-13 09:09:56 +00:00
Ben Hale
cd9cbabb4d
Updated to new version of spring-build
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@623 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-13 08:56:49 +00:00
Juergen Hoeller
4ab4e93f45
avoid NPE in PathMatchingResourcePatternResolver when initialized with null ClassLoader
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@622 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-12 23:46:17 +00:00
Juergen Hoeller
0e27639083
refined OSGi version constraints for "javax.annotation" and "junit.framework"
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@621 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-12 23:36:56 +00:00
Juergen Hoeller
41c04863f1
DefaultLobHandler uses explicit Blob/Clob access for reading when "wrapAsLob"=true
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@620 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-12 23:30:28 +00:00
Juergen Hoeller
793bf07941
revised expression parser API design
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@619 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-12 23:03:58 +00:00
Juergen Hoeller
b8b836ca43
added IntelliJ settings for integration-tests module
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@618 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-12 22:12:27 +00:00
Juergen Hoeller
0f0f2d37ba
made SpringBeanAutowiringInterceptor callback signature compatible with WebSphere
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@617 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-12 18:05:37 +00:00
Juergen Hoeller
45632781a2
polishing
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@616 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-12 17:41:46 +00:00
Juergen Hoeller
5405f247e8
generified NumberUtils signature
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@615 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-12 17:40:51 +00:00
Juergen Hoeller
f89bcac1a4
fixed JmsException/JmsUtils to fully avoid NPEs in case of cause messages being null
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@614 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-12 17:33:57 +00:00
Juergen Hoeller
3e9e9e2267
added @Async annotation, AsyncExecutionInterceptor, AsyncAnnotationAdvisor
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@613 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-10 11:24:05 +00:00
Arjen Poutsma
d9049bace9
Solved concurrency issue
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@612 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-09 22:10:47 +00:00
Juergen Hoeller
699b370990
registered plain singletons will be fully matched according to their qualifiers; "systemProperties" bean is not considered a default match for type Properties anymore (SPR-5355)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@611 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-09 22:06:07 +00:00
Juergen Hoeller
ff3b3f0c02
updated to Hibernate 3.3 + Hibernate EntityManager 3.4 (requires SFL4J <= 1.5.3!) as well as OpenJPA 1.1
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@610 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-09 21:40:53 +00:00
Juergen Hoeller
1f140d5632
revised advice ordering (for async execution interceptor)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@609 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-09 18:32:21 +00:00
Juergen Hoeller
a0d20fb424
polishing
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@608 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-09 18:28:04 +00:00
Juergen Hoeller
47f3b9881b
ApplicationListener beans get obtained on demand, supporting non-singletons as well; ApplicationListeners will be called in the order according to the Ordered contract; generified ApplicationListener interface
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@607 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-09 18:26:30 +00:00
Juergen Hoeller
ed42fb056e
polishing
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@606 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-09 15:38:17 +00:00
Juergen Hoeller
c09d4962d0
support for WebSphere's ResourceAdapter-managed transactions
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@605 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-09 15:36:20 +00:00
Arjen Poutsma
a9b28cf9bd
Added content negotiation and MarshallingView to petclinic
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@604 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-06 16:12:13 +00:00
Arjen Poutsma
c0aa6c9330
Added content negotiation and MarshallingView to petclinic
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@603 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-06 15:54:57 +00:00
Arjen Poutsma
1f1968e93f
SPR-5452: Content negotiation
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@602 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-06 14:38:30 +00:00
Arjen Poutsma
eac264dbf4
SPR-5460: Add AtomView sample to PetClinic
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@601 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-06 09:12:08 +00:00
Arjen Poutsma
2b0ce30843
Added link to Atom spec in javadoc
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@600 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-06 08:18:37 +00:00
Juergen Hoeller
a3a4171c41
added "Future submit(Runnable)" and "Future submit(Callable)" to AsyncTaskExecutor; SchedulingTaskExecutor interface extends AsyncTaskExecutor; added ExecutorServiceAdapter class as a standard wrapper for a Spring TaskExecutor; added ThreadPoolExecutorFactoryBean; reduced backport-concurrent support to TaskExecutor adapters
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@599 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-05 22:45:35 +00:00
Juergen Hoeller
4050980b80
all "taskExecutor" bean properties now accept any "java.util.concurrent.Executor"
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@598 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-05 21:18:10 +00:00
Juergen Hoeller
416f37d7c3
deprecated ConcurrentMap
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@597 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-05 21:07:53 +00:00
Juergen Hoeller
d4888bfebe
Java 5 code style
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@596 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-05 21:04:13 +00:00
Arjen Poutsma
d05fd46aea
Added extractFullFilenameFromUrlPath to WebUtils
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@595 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-05 15:45:25 +00:00
Arjen Poutsma
74253b7f00
Added MediaType
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@594 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-05 15:44:16 +00:00