Felix
  1. Felix
  2. FELIX-2296

iPojo : Unable to get a ServiceProperty change in an anonymous class

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Cannot Reproduce
    • Affects Version/s: iPOJO-1.4.0, iPOJO-1.6.0
    • Fix Version/s: iPOJO-1.6.0
    • Component/s: iPOJO
    • Labels:
      None

      Description

      @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)

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Clement Escoffier
            Reporter:
            Brian Tribondeau
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development