felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Clement Escoffier (JIRA)" <j...@apache.org>
Subject [jira] Created: (FELIX-2132) Provides a way to control service exposition from the implementation class
Date Wed, 24 Feb 2010 17:49:28 GMT
Provides a way to control service exposition from the implementation class
--------------------------------------------------------------------------

                 Key: FELIX-2132
                 URL: https://issues.apache.org/jira/browse/FELIX-2132
             Project: Felix
          Issue Type: New Feature
          Components: iPOJO
            Reporter: Clement Escoffier
            Assignee: Clement Escoffier
             Fix For: iPOJO-1.6.0


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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message