public class LocalServiceInterestsProvider
extends java.lang.Object
Provider that gathers filters for all services in our local framework.
This provider creates filters for new services and delegates them to
the TopologyManager import part. This is registered as a ServiceEventListener that
will be triggered by the discovery.
To avoid useless triggers for service imports, the discovery only triggers imports, for
potential interested services.
These information are gathered here and are represented as filter. If we have a change here,
that can be a service change, removal or add, the filters are updated.
On each filter update the service registration of the TopologyManager import service listener, will update
its service properties. That can force the topology manager to be removed or added as interested party to the
discovery.
- Since:
- 04.04.2019