Priority attribute on After/Before annotation
---------------------------------------------
Key: STS-734
URL: http://www.stripesframework.org/jira/browse/STS-734
Project: Stripes
Issue Type: New Feature
Components: ActionBean Dispatching
Environment: Stripes 1.4.3
Reporter: João Cunha
Priority: Minor
I am having a problem related to the execution order of two methods where each
one has the @After(LifecycleStage.BindingAndValidation) annotation.
Consider method A and B.
Method A is defined at the abstract class DefaultActionBean, and method B is
defined at the concrete class DefaultModuleActionBean. What i want is that
method A is executed before B. The problem is that the execution order is being
defined purely by the way that the reflection API returns the methods (i
think). My sugestion is that these annotations can be configurable with a
priority attribute just like a validation method.
I know that i could solve my case by manually invoking the superclass method,
but i want that the execution of method A to be completely transparent for
subclasses.
--
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 the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development