Christian Schneider created DOSGI-146:
-----------------------------------------

             Summary: Allow to define intents as OSGi services
                 Key: DOSGI-146
                 URL: https://issues.apache.org/jira/browse/DOSGI-146
             Project: CXF Distributed OSGi
          Issue Type: Improvement
          Components: DSW
    Affects Versions: 1.3.1
            Reporter: Christian Schneider
            Assignee: Christian Schneider
             Fix For: 1.4


Up to version 1.3.1 intents were defined as an intent map. Custom intents could 
be defined in a special spring dm file that has to define an IntentMap.

This approach coupled cxf dosgi to spring dm and also the user bundles were 
coupled to spring dm as well as the dsw bundle as the IntentMap was defined 
there.

For DOSGi 1.4 we should try to allow custom intents to be defined in a more 
loosely coupled way.

So I propose to define each intent as an OSGi service. The service property 
org.cxf.dosgi.IntentName allows to mark services as intents. When starting the 
service we can then also wait some time if intents with a certain name show up 
to avoid timing issues.

--
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

Reply via email to