[
http://www.stripesframework.org/jira/browse/STS-520?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=11298#action_11298
]
Gregg Bolinger commented on STS-520:
------------------------------------
Christian, I'm slowly coming around to this. I did write a GuiceInterceptor
that was just as simple that did the exact same thing your SpringInterceptor is
doing. I posted it to the mailing list so you make look for it.
With the GuiceInterceptor I wrote it required the use of 100% annotations. It
did not allow for an AbstractModule implementation. Does the Spring
interceptor you wrote expect the same thing? Does it require the use of
annotations throughout or would it still use XML wired beans as well? For
example, in my GuiceInterceptor this is expected in a Stripes ActionBean
@Inject
public void setSomething(Something something) { }
I'm assuming this would be required for Spring?
@Autowired
public void setSomething(Something something) { }
??
> Support Spring's @Autowired annotation for marking fields/methods for
> dependency injection
> ------------------------------------------------------------------------------------------
>
> Key: STS-520
> URL: http://www.stripesframework.org/jira/browse/STS-520
> Project: Stripes
> Issue Type: Improvement
> Affects Versions: Release 1.4.3
> Reporter: Christian Nelson
> Priority: Trivial
> Attachments: SpringInterceptor.java
>
>
> It'd be nice if we could use the @Autowired annotation that was recently
> added in Spring 2.5 in place of the @SpringBean annotation. Dependency
> injection would then would be consistent with a spring-managed service tier.
> Obviously this isn't a big deal and I've marked it as trivial.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://www.stripesframework.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development