This is mandated by the specification, and yes, the Export unregistration event should include the ExportReference. Unfortunately the Export Reference *must* be closed, at this point, and so you cannot get hold of the EndpointDescription. There is an open bug with the OSGi Alliance to fix this in RSA 1.2, but it will need an API change.
Regards, Tim > On 23 Jun 2016, at 10:40, Christian Schneider (JIRA) <[email protected]> wrote: > > > [ > https://issues.apache.org/jira/browse/ARIES-1581?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15346174#comment-15346174 > ] > > Christian Schneider commented on ARIES-1581: > -------------------------------------------- > > Sounds good.. but please check the Spec first. Sometimes it defines strange > rules like this. > >> RSA does not include the ExportReference in RSA Events >> ------------------------------------------------------ >> >> Key: ARIES-1581 >> URL: https://issues.apache.org/jira/browse/ARIES-1581 >> Project: Aries >> Issue Type: Bug >> Components: Remote Service Admin >> Affects Versions: rsa-1.8.0 >> Reporter: Johannes Utzig >> >> When an exported service is removed, the RemoteServiceAdminEvent contains >> 'null' as the ExportReference. >> I will create a pull request > > > > -- > This message was sent by Atlassian JIRA > (v6.3.4#6332)
