You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "David Bosschaert (JIRA)" <ji...@apache.org> on 2008/11/13 10:22:44 UTC

[jira] Updated: (FELIX-804) Incorporate the Service Registry ListenerHook (RFC 126) work done in the CXF DOSGi project

     [ https://issues.apache.org/jira/browse/FELIX-804?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Bosschaert updated FELIX-804:
-----------------------------------

    Attachment: ListenerHook.patch

The ListenerHook.patch file contains an implementation of the OSGi RFC 126 ListenerHook mechanism (see http://www.osgi.org/download/osgi-4.2-early-draft.pdf).
The patch is created with a Felix Trunk checkout from Nov 12, 2008. 

The patch contains code from the originally part of the DOSGi code in CXF (http://svn.apache.org/repos/asf/cxf/sandbox/dosgi) written by Sergey Beryozkin, reapplied to the Felix trunk.

Couple of notes regarding the patch:
* It contains a new interface org.osgi.framework.hooks.service.ListenerHook. This and its embedded ListenerInfo are new interfaces that are part of the OSGi 4.2 Core specification (part of RFC 126)
* There is also a new org.osgi.framework.ServiceException class, which is also part of OSGi 4.2
* Because of the changes to org.osgi.core, the dependency to that component in framework/pom.xml has been updated to 1.3.0-SNAPSHOT (from 1.2.0). I was wondering, should it not move to 1.4.1-SNAPSHOT or something?

Unit tests are included for all code changes except for the changes to the org.apache.felix.framework.Felix class. Because all member variables of this class are Private its currently impossible to write unit tests for parts of it. I would happily volunteer to make this class unit-testable if this is considered to be a good idea.

The patch contains new files (which sometimes causes problems with older patch application tools). It was created with Tortoise 1.5.0.

> Incorporate the Service Registry ListenerHook (RFC 126) work done in the CXF DOSGi project
> ------------------------------------------------------------------------------------------
>
>                 Key: FELIX-804
>                 URL: https://issues.apache.org/jira/browse/FELIX-804
>             Project: Felix
>          Issue Type: New Feature
>          Components: Framework
>            Reporter: David Bosschaert
>         Attachments: ListenerHook.patch
>
>
> This bug relates to https://issues.apache.org/jira/browse/CXF-1897
> The CXF DOSGi project contains an implementation of the ListenerHook of RFC 126. This could should move into Felix.
> See also: http://www.mail-archive.com/dev@felix.apache.org/msg06475.html

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