[ http://mc4j.org/jira/browse/STS-201?page=all ]
Tim Fennell resolved STS-201:
-----------------------------
Resolution: Fixed
Fix Version: Release 1.4
I've made some changes for 1.4. It goes a little further and also looks at all
methods up the inheritance hierarchy - so that a base action bean can declare
before/after methods and them picked up in child classes. Though if the
methods are overridden in the child, the annotation (or lack thereof) overrides
the annotation in the parent class.
> Make it possible for @Before and @After annotations to execute non-public
> methods
> ---------------------------------------------------------------------------------
>
> Key: STS-201
> URL: http://mc4j.org/jira/browse/STS-201
> Project: Stripes
> Type: Improvement
> Components: ActionBean Dispatching
> Versions: Release 1.3.1
> Reporter: Nic Holbrook
> Assignee: Tim Fennell
> Priority: Minor
> Fix For: Release 1.4
> Attachments: BeforeAfterMethodInterceptor.java
>
> Changed getMethod() call which returns only public methods on the class to
> getDeclaredMethods to return all methods.
> Added a check inside invoke method to check to see if the method is
> accessible and if not, setAccessible(true) then invoke the method.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://mc4j.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development