Pass execution context to @Before/@After methods
------------------------------------------------

                 Key: STS-882
                 URL: http://www.stripesframework.org/jira/browse/STS-882
             Project: Stripes
          Issue Type: Improvement
          Components: Context Management
    Affects Versions: Release 1.5.7
            Reporter: Ben Gunter
            Assignee: Ben Gunter
            Priority: Minor


One major drawback to using @Before and @After methods in an ActionBean instead 
of a full-fledged Interceptor is that an Interceptor has access to the 
ExecutionContext, whereas @Before/@After methods do not. I propose an 
enhancement to BeforeAfterMethodInterceptor such that if a @Before/@After 
method is declared to take exactly one parameter of type ExecutionContext, the 
current execution context will be passed to the method.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to