You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Lukasz Lenart (JIRA)" <ji...@apache.org> on 2013/01/22 11:22:13 UTC

[jira] [Commented] (WW-3972) Action Class Post Construct Method

    [ https://issues.apache.org/jira/browse/WW-3972?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13559533#comment-13559533 ] 

Lukasz Lenart commented on WW-3972:
-----------------------------------

I'm not sure if I understand - you can use @PostConstruct annotation right away, you can wire your actions using Spring, thus gives you an option to implement Spring related interfaces like InitializingBean.
                
> Action Class Post Construct Method
> ----------------------------------
>
>                 Key: WW-3972
>                 URL: https://issues.apache.org/jira/browse/WW-3972
>             Project: Struts 2
>          Issue Type: New Feature
>          Components: Plugin - Spring
>            Reporter: nick
>            Priority: Minor
>
> It would be better if struts2 can take advantage of post constructor method calling provided by spring bean factory. Since there are cases like various loading resources, etc at the beginning using the properties injected by spring. In fact it will be like Every action can have an optional post constructor method where we can do all other common chores. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira