[
http://www.stripesframework.org/jira/browse/STS-520?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=11302#action_11302
]
Gérald Quintana commented on STS-520:
-------------------------------------
I think there are 2 things under the current Spring bean injection:
1) The resolution/creation/providing of the bean/dependency
2) The injection of the bean/dependency in the action
The part 1) depends on annotation (and property type?):
@SpringBean, @AutoWired... --> Spring bean provider
@Inject --> Guice bean provider
@EJB --> EJBean provider
@PersistenceContext --> Entity manager provider
...
This part 1) could be customizable and extensible.
The part 2) is common to all bean providers and could be share across
> 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: GuiceInterceptor.java, 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