[
https://issues.apache.org/jira/browse/FELIX-2396?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12877020#action_12877020
]
Guillaume Nodet commented on FELIX-2396:
----------------------------------------
Maybe something very simple such if the object in the session is a
java.util.concurrent.Callable object, call it.
Or maybe define our own interface.
Or allow to set a callback that would be called when retrieving a value. That
may allow even greater flexibility such as allowing lazy retrieval of values
(though that would break the '.variables' value).
> Ability to have callbacks when accessing session variables
> ----------------------------------------------------------
>
> Key: FELIX-2396
> URL: https://issues.apache.org/jira/browse/FELIX-2396
> Project: Felix
> Issue Type: Improvement
> Components: Gogo
> Reporter: Guillaume Nodet
>
> This is required for a better integration when the value is computed without
> any simple way to be aware of the fact that the value has changed.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.