Automatic determination of ActionBeanContext subclass
-----------------------------------------------------
Key: STS-283
URL: http://mc4j.org/jira/browse/STS-283
Project: Stripes
Issue Type: Improvement
Components: Context Management
Reporter: Gary Moselen
Assigned To: Tim Fennell
Fix For: Release 1.5
Right now you have to configure the ActionBeanContext subclass that your
application uses, and if you want to use more than one per application you have
to write your own factory. But given that it's strongly suggested you
override/implement getContext() with a co-variant return type, in many cases it
could be inferred from the method signature. Therefore in future it should
probably work as follows:
1. If the return type of getContext() on the ActionBean subclass is a
subclass of ActionBeanContext (and not the class itself) instantiate
that class
2. If the return type is ActionBeanContext, look for a configured class
3. Finally, fall back to ActionBeanContext.class
--
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