You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2010/09/22 08:03:32 UTC

[jira] Updated: (FELIX-2396) Ability to have callbacks when accessing session variables

     [ https://issues.apache.org/jira/browse/FELIX-2396?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guillaume Nodet updated FELIX-2396:
-----------------------------------

         Assignee: Guillaume Nodet
    Fix Version/s: gogo-0.6.1

I'll handle this issue using the following behavior.
WHen looking up a variable, a first check will be done as following:
   if a variable exists with the same name but prefixed with '#', this one will be used instead and evaluate if it implements the Function interface

The purpose is to not modify the exiting behavior and remain backward compatible.  Also if we don't use a prefix, a closure could not be accessed anymore from a variable, as it would always be evaluated.

> 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 Runtime
>            Reporter: Guillaume Nodet
>            Assignee: Guillaume Nodet
>             Fix For: gogo-0.6.1
>
>
> 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.