|
From: Bill B. <bb...@re...> - 2008-10-30 18:12:44
|
Sweet man! yeah, let's move the spring code out of the main project. I'm going to start to do that with some of the providers too (like YAML for example). Solomon Duskis wrote: > I put in some significant changes in regards to RESTEasy integration > with both Spring and SpringMVC. Currently, all of these changes are in > the resteasy-springwebmvc project. We may want to either put all of > them back into the resteasy-jaxrs, or have a full resteasy-spring > package, and remove dependencies from resteasy-jaxrs. I'll leave that > up to you :). Anyway, here's the functionality > > 1) I added a way for Spring to know how to inject @Context annotations > for either member variables or methods (Constructors/setters) that are > marked with @Autowired > 2) I added a way to customize Resource registration > 3) I added a basic test for the "neat" MVC integration - GroovyView to > follow soon :) > 4) I added the ability to have prototype/request scoped Resources > created by Spring > > take a look at: > > resteasy-springwebmvc/src/test/java/org/jboss/resteasy/springmvc/resources/BasicResource.java > > resteasy-springwebmvc/src/test/java/org/jboss/resteasy/springmvc/resources/BasicSpringTest.java > resteasy-springwebmvc/src/test/resources/spring-test1.xml > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > > ------------------------------------------------------------------------ > > _______________________________________________ > Resteasy-developers mailing list > Res...@li... > https://lists.sourceforge.net/lists/listinfo/resteasy-developers -- Bill Burke JBoss, a division of Red Hat http://bill.burkecentral.com |