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

Provides a way to control service exposition from the implementation class

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: iPOJO-1.6.0
    • Component/s: iPOJO
    • Labels:
      None

      Description

      Provides something like:
      @Component
      @Provides
      public class MyImpl implements Service {
      @ServiceController
      private boolean controller;
      }

      To provide a way to control the service exposition, a boolean has to be intercepted to reflect the changes on the provided service.
      If the boolean is set to false, the service is unpublished, if it is set to true the service is published.

      The controller also accepts an initial value to avoid publishing the service at startup.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: