You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Carsten Ziegeler (JIRA)" <ji...@apache.org> on 2010/08/20 15:02:16 UTC
[jira] Resolved: (SLING-1673) Cache results in SlingAdaptable
[ https://issues.apache.org/jira/browse/SLING-1673?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carsten Ziegeler resolved SLING-1673.
-------------------------------------
Resolution: Fixed
Implemented the cache in revision 987486
> Cache results in SlingAdaptable
> -------------------------------
>
> Key: SLING-1673
> URL: https://issues.apache.org/jira/browse/SLING-1673
> Project: Sling
> Issue Type: New Feature
> Components: Extensions
> Affects Versions: Adapter 2.0.4
> Reporter: Carsten Ziegeler
> Assignee: Carsten Ziegeler
> Fix For: Adapter 2.0.6
>
>
> Currently a call to SlingAdaptable#adaptTo is not cached. If an object is adapted to the same class over and over again (during a request) this leads to new instanz creations and makes holding state in the created objects impossible.
> We could add a simple transparent cache to the SlingAdaptable to avoid these problems.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.