Commit Graph

24140 Commits

Author SHA1 Message Date
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
Juergen Hoeller 60392d6e74 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 2009-02-09 18:26:30 +00:00
Juergen Hoeller 6609386e41 polishing 2009-02-09 15:38:17 +00:00
Juergen Hoeller 205df56ee4 support for WebSphere's ResourceAdapter-managed transactions 2009-02-09 15:36:20 +00:00
Arjen Poutsma f5e5fc1662 Added content negotiation and MarshallingView to petclinic 2009-02-06 16:12:13 +00:00
Arjen Poutsma fae0110536 Added content negotiation and MarshallingView to petclinic 2009-02-06 15:54:57 +00:00
Arjen Poutsma df563dfcd6 SPR-5452: Content negotiation 2009-02-06 14:38:30 +00:00
Arjen Poutsma b96a7a7a8c SPR-5460: Add AtomView sample to PetClinic 2009-02-06 09:12:08 +00:00
Arjen Poutsma ce83ebf0de Added link to Atom spec in javadoc 2009-02-06 08:18:37 +00:00
Juergen Hoeller 7e4fb09369 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 2009-02-05 22:45:35 +00:00
Juergen Hoeller 6cdc25d66a all "taskExecutor" bean properties now accept any "java.util.concurrent.Executor" 2009-02-05 21:18:10 +00:00
Juergen Hoeller ea54c6391e deprecated ConcurrentMap 2009-02-05 21:07:53 +00:00
Juergen Hoeller 92588cddc6 Java 5 code style 2009-02-05 21:04:13 +00:00
Arjen Poutsma 460977263d Added extractFullFilenameFromUrlPath to WebUtils 2009-02-05 15:45:25 +00:00
Arjen Poutsma b0180fdf32 Added MediaType 2009-02-05 15:44:16 +00:00