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

Provides a way to control service exposition from the implementation class

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • iPOJO-1.6.0
    • iPOJO
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: