Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-2296

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: 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)

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: