Commit Graph

654 Commits

Author SHA1 Message Date
Juergen Hoeller eb1631f458 SimpleAliasRegistry detects resolved aliases that loop back to the original name (SPR-5419); PropertyPlaceholderConfigurer does not modify Map in case of equal String keys (SPR-5318); inner class names in Java source style ("java.lang.Thread.State") supported as well (SPR-5210) 2009-02-19 16:17:35 +00:00
Juergen Hoeller ff8e7a1289 further M2 revisions 2009-02-19 00:29:21 +00:00
Juergen Hoeller 4cc42bf16f added "flush()" method to TransactionStatus and TransactionSynchronization interfaces; test context manager automatically flushes transactions before rolling back; general polishing of transaction management code 2009-02-19 00:24:05 +00:00
Juergen Hoeller dd7d299aa4 updated for execution of integration tests 2009-02-19 00:16:20 +00:00
Juergen Hoeller 56bd995d9c "url" macro in "spring.ftl" performs standard Servlet URL encoding automatically 2009-02-18 23:55:32 +00:00
Juergen Hoeller d3d0111439 polishing 2009-02-18 23:51:03 +00:00
Juergen Hoeller 85bc98ea4b MethodInvocations and ProceedingJoinPoints always expose original method (not bridge); ProceedingJoinPoint resolves parameter names using ASM-based parameter name discovery 2009-02-18 23:45:14 +00:00
Juergen Hoeller 02164ab6a7 always use static imports with '*' 2009-02-17 19:10:35 +00:00
Juergen Hoeller 43caa57296 optimized OrderComparator usage 2009-02-17 18:19:57 +00:00
Juergen Hoeller 9871e94cad SimpleAliasRegistry's "getAliases" method returns transitive aliases now; @Qualifier value matching takes chained aliases of target beans into account as well 2009-02-17 18:18:33 +00:00
Juergen Hoeller 35c36dda4b fixed HTTP invoker to support resolution of multi-level primitive array classes again 2009-02-17 17:50:14 +00:00
Juergen Hoeller 57874a6050 SmartApplicationListener interface supports source type checking; SimpleApplicationEventMulticaster caches information about event/source matches 2009-02-17 17:46:14 +00:00
Arjen Poutsma aff17ca9e5 Uncommented test case 2009-02-16 13:42:05 +00:00
Juergen Hoeller 35040a6572 prepared for 3.0 M2 release 2009-02-16 01:51:18 +00:00
Juergen Hoeller 5a09a2d642 polishing 2009-02-16 01:43:49 +00:00
Juergen Hoeller d56419dad9 default post-processors use their default component order now 2009-02-16 01:43:24 +00:00
Juergen Hoeller 46cbaa9729 pre-converted property values are preserved more eagerly for re-created beans (SPR-5293) 2009-02-16 01:36:13 +00:00
Juergen Hoeller 15bbd575a9 bridge method resolution works with Hibernate-generated CGLIB proxies as well (SPR-5414) 2009-02-16 01:35:35 +00:00
Juergen Hoeller 213b528ffe ASM-based AnnotationMetadata fully resolves class arguments and enums into Java types (SPR-5477, SPR-5479) 2009-02-15 21:50:01 +00:00
Juergen Hoeller 90b5c3a8dd @RequestMapping type-level param constraints taken into account consistently 2009-02-15 21:31:20 +00:00
Juergen Hoeller a25e24f37e generified TransactionCallback; WebSphereUowTransactionManager preserves original exception in case of rollback (SPR-5270) 2009-02-15 19:48:18 +00:00
Chris Beams d0b03604c8 Remapped static resources as /petclinic/static/images/...
Renamed tutorial from petclinic.html -> tutorial.html
2009-02-14 21:50:51 +00:00
Chris Beams 3ddd08942c 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
2009-02-14 09:11:14 +00:00
Chris Beams da2175c0b7 * Updated Eclipse classpath metadata
* Fixed (or suppressed as necessary) JSP errors in petclinic
2009-02-14 03:09:59 +00:00
Juergen Hoeller fe462916b1 TypeUtils detects variations of ParameterizedType/GenericArrayType assignability as well 2009-02-13 12:17:48 +00:00
Juergen Hoeller d8651a88ec UrlResource eagerly closes HTTP connections in case of "getInputStream()" failure (SPR-5338) 2009-02-13 12:16:11 +00:00
Juergen Hoeller c8080be4e5 completed documentation on session destruction callbacks 2009-02-13 11:51:53 +00:00
Juergen Hoeller 6b2d4a81a0 optional boolean parameters in MVC handler methods resolve to "false" if not present 2009-02-13 11:46:55 +00:00
Arjen Poutsma 721f2ca63e Test for SPR-5362 2009-02-13 10:32:22 +00:00
Ben Hale 4252d40708 Upgrade to spring-build 2009-02-13 10:30:33 +00:00
Juergen Hoeller 2674b13b06 fixed MessageListenerAdapter's "getSubscriptionName()" to work without delegate as well (SPR-5309) 2009-02-13 09:15:43 +00:00
Juergen Hoeller 796392db1a ReflectionUtils findMethod detects methods on "java.lang.Object" as well 2009-02-13 09:14:08 +00:00
Juergen Hoeller ffb9625abf polishing 2009-02-13 09:11:03 +00:00
Juergen Hoeller e58d036c73 generic collection type resolution respects upper bound as well 2009-02-13 09:09:56 +00:00
Ben Hale 483104f0fa Updated to new version of spring-build 2009-02-13 08:56:49 +00:00
Juergen Hoeller 647495edd3 avoid NPE in PathMatchingResourcePatternResolver when initialized with null ClassLoader 2009-02-12 23:46:17 +00:00
Juergen Hoeller d6ed6fcd3f refined OSGi version constraints for "javax.annotation" and "junit.framework" 2009-02-12 23:36:56 +00:00
Juergen Hoeller ad266a347e DefaultLobHandler uses explicit Blob/Clob access for reading when "wrapAsLob"=true 2009-02-12 23:30:28 +00:00
Juergen Hoeller 08dd18df58 revised expression parser API design 2009-02-12 23:03:58 +00:00
Juergen Hoeller 2bdb62f4c2 added IntelliJ settings for integration-tests module 2009-02-12 22:12:27 +00:00
Juergen Hoeller f4b466dfdd made SpringBeanAutowiringInterceptor callback signature compatible with WebSphere 2009-02-12 18:05:37 +00:00
Juergen Hoeller ac104d4da0 polishing 2009-02-12 17:41:46 +00:00
Juergen Hoeller fb057bb5f6 generified NumberUtils signature 2009-02-12 17:40:51 +00:00
Juergen Hoeller 8669b3293c fixed JmsException/JmsUtils to fully avoid NPEs in case of cause messages being null 2009-02-12 17:33:57 +00:00
Juergen Hoeller 777a104d48 added @Async annotation, AsyncExecutionInterceptor, AsyncAnnotationAdvisor 2009-02-10 11:24:05 +00:00
Arjen Poutsma 21a442b253 Solved concurrency issue 2009-02-09 22:10:47 +00:00
Juergen Hoeller 5a04ed502b 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) 2009-02-09 22:06:07 +00:00
Juergen Hoeller 6086bb37e7 updated to Hibernate 3.3 + Hibernate EntityManager 3.4 (requires SFL4J <= 1.5.3!) as well as OpenJPA 1.1 2009-02-09 21:40:53 +00:00
Juergen Hoeller 0794756fba revised advice ordering (for async execution interceptor) 2009-02-09 18:32:21 +00:00
Juergen Hoeller fc6d7358ef polishing 2009-02-09 18:28:04 +00:00