You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Clement Escoffier (JIRA)" <ji...@apache.org> on 2013/02/26 14:22:12 UTC

[jira] [Created] (FELIX-3922) More flexible lifecycle / service controller

Clement Escoffier created FELIX-3922:
----------------------------------------

             Summary: More flexible lifecycle / service controller
                 Key: FELIX-3922
                 URL: https://issues.apache.org/jira/browse/FELIX-3922
             Project: Felix
          Issue Type: Wish
          Components: iPOJO
            Reporter: Clement Escoffier
            Priority: Trivial


Instead of using boolean for controllers (both service and lifecycle), we could inject a high level object such as in:

    @Controller LifecycleController controller;

The Lifecycle controller interface would contain:

    LifecycleController.start(), .stop(), .dispose()
    ServiceController.publish(), .unpublish(), .update(Map<String, ?>), getRegistration()

NB: the getRegistration must inject a proxy to intercept the calls (especially modifyService)



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira