You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Brian Tribondeau (JIRA)" <ji...@apache.org> on 2010/04/21 16:57:50 UTC
[jira] Updated: (FELIX-2296) iPojo : Unable to get a
ServiceProperty change in an anonymous class
[ https://issues.apache.org/jira/browse/FELIX-2296?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brian Tribondeau updated FELIX-2296:
------------------------------------
The original code is longer, but that's the spirit ...
> iPojo : Unable to get a ServiceProperty change in an anonymous class
> --------------------------------------------------------------------
>
> Key: FELIX-2296
> URL: https://issues.apache.org/jira/browse/FELIX-2296
> Project: Felix
> Issue Type: Bug
> Components: iPOJO
> Affects Versions: iPOJO-1.4.0
> Reporter: Brian Tribondeau
> Priority: Critical
>
> @ServiceProperty(value = "false")
> private boolean ready;
> ...
> SwingUtilities.invokeLater(new Runnable() {
> public void run() {
> ready = true;
> }});
> is not equivalent to :
> SwingUtilities.invokeLater(new Runnable() {
> public void run() {
> connect();
> }});
> public void connect() {
> ready = true;
> }
> (I use a @Require(filter = "(ready=true)) to start an another service instance)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.