[
https://issues.apache.org/jira/browse/TILES-112?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13264517#comment-13264517
]
Nicolas Le Bas commented on TILES-112:
--------------------------------------
This issue has been (indirectly) addressed by Spring in
org.springframework.web.servlet.view.tiles2.SpringBeanPreparerFactory.
I feel it's the right way to do it, using a proven IoC containers instead of
designing our own all over again.
Possibly a similar implementation could be provided for Guice.
> JSR 250 support
> ---------------
>
> Key: TILES-112
> URL: https://issues.apache.org/jira/browse/TILES-112
> Project: Tiles
> Issue Type: New Feature
> Components: tiles-core
> Affects Versions: 2.0.0
> Reporter: Jacky Chan
>
> JSR 250 is very important annotation to reference resoure and life cycle
> control, such as @Resource, @PostContruct, @PreDestroy. These annotations are
> very useful for view preparer. View preparer can use @Resource to reference
> other resource from JNDI or Spring context easily by ejection. At the same
> time view preparer can use @PostContruct and @PreDestroy to control preparer
> instance life cycle before it is a singleton. Preparer is very import for
> Tiles 2.0, and resource ejection is very important to make preparer more
> compact.
> This are my opinion, just for your reference, thanks.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira