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

[jira] [Comment Edited] (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=13565136#comment-13565136 ] 

nick edited comment on WW-3972 at 1/29/13 6:58 AM:
---------------------------------------------------

Yeah, just keeping things a little closer to watch in multithread environment :), hope struts 2 is thread safe to use. Not yet decided to go with singleton but on close watch. In addition i completely agree with you that its a bad way, we are just in experiment phase with singleton action.
                
      was (Author: nick.sree):
    Yeah, just keeping things a little closer to watch in multithread environment :), hope struts 2 is thread safe to use. Not yet decided to go with singleton but on close watch.
                  
> 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
>            Assignee: Lukasz Lenart
>            Priority: Minor
>             Fix For: 3.x
>
>
> It would be better, if struts2 can take advantage of post constructor method call in Action classes. There are cases like loading various resources, etc immediately after struts Action class initialized. In fact, it's 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