[
https://issues.apache.org/jira/browse/DOSGI-184?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13662392#comment-13662392
]
Christian Schneider commented on DOSGI-184:
-------------------------------------------
I replaced getServices with getServicesToBeExportedFor(RemoteServiceAdmin).
This avoids the concurrency issue.
I also remove the public modifier from EndpointRepository
> Split Endpoint repository from TopologyManagerExport
> ----------------------------------------------------
>
> Key: DOSGI-184
> URL: https://issues.apache.org/jira/browse/DOSGI-184
> Project: CXF Distributed OSGi
> Issue Type: Improvement
> Affects Versions: 1.4.0
> Reporter: Christian Schneider
> Assignee: Christian Schneider
> Fix For: 1.5
>
>
> The TopologyManager is a bit difficult to understand as it manages the known
> services map and also has to do the communication with ServiceListener,
> EndpointListenerNotifer and RemoteServiceAdmin.
> Especially the synchronized blocks make the code complicated.
> So I propose to split the handling of the map of known Endpoints into a
> EndpointRepository.
--
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