[
https://issues.apache.org/jira/browse/SLING-1673?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Felix Meschberger closed SLING-1673.
------------------------------------
Close after release
> 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.