[
http://www.stripesframework.org/jira/browse/STS-283?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ben Gunter resolved STS-283.
----------------------------
Resolution: Won't Fix
I think the devs are in agreement on this so I'm resolving as Won't Fix.
> Automatic determination of ActionBeanContext subclass
> -----------------------------------------------------
>
> Key: STS-283
> URL: http://www.stripesframework.org/jira/browse/STS-283
> Project: Stripes
> Issue Type: Improvement
> Components: Context Management
> Reporter: Gary Moselen
> 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://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: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development