[
https://issues.apache.org/jira/browse/FELIX-2132?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Clement Escoffier resolved FELIX-2132.
--------------------------------------
Resolution: Fixed
Fixed in the trunk.
> 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.