[
http://www.stripesframework.org/jira/browse/STS-283?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ben Gunter closed STS-283.
--------------------------
> 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.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and,
should the need arise, upgrade to a full multi-node Oracle RAC database
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development