Class TopologyManager
java.lang.Object
org.eclipse.ecf.osgi.services.remoteserviceadmin.TopologyManager
- All Implemented Interfaces:
ITopologyManager,EventListenerHook,RemoteServiceAdminListener
public class TopologyManager
extends Object
implements EventListenerHook, RemoteServiceAdminListener, ITopologyManager
- Since:
- 4.6
-
Field Summary
FieldsFields inherited from interface org.eclipse.ecf.osgi.services.remoteserviceadmin.ITopologyManager
ENDPOINT_ALLOWLOCALHOST, ENDPOINT_ALLOWLOCALHOST_PROP, ENDPOINT_EXTRA_FILTERS, ENDPOINT_EXTRA_FILTERS_PROP, EXPORT_REGISTERED_SERVICES_FILTER, EXPORT_REGISTERED_SERVICES_FILTER_PROP, ONLY_ECF_SCOPE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidactivate(BundleContext context, Map<String, ?> properties) protected Dictionary<String,Object> createEndpointListenerProps(List<String> filters) protected TopologyManagerImplcreateTopologyManagerImpl(BundleContext context, boolean allowLocalhost, String[] extraFilters) protected voidvoidevent(ServiceEvent event, Map listeners) String[]voidReceive notification of any export or import registrations and unregistrations as well as errors and warnings.String[]setEndpointFilters(String[] newFilters)
-
Field Details
-
topologyManagerImpl
-
endpointListenerRegistration
-
-
Constructor Details
-
TopologyManager
public TopologyManager()
-
-
Method Details
-
createTopologyManagerImpl
protected TopologyManagerImpl createTopologyManagerImpl(BundleContext context, boolean allowLocalhost, String[] extraFilters) - Since:
- 4.9
-
activate
- Throws:
Exception
-
createEndpointListenerProps
-
deactivate
protected void deactivate() -
remoteAdminEvent
Description copied from interface:RemoteServiceAdminListenerReceive notification of any export or import registrations and unregistrations as well as errors and warnings.- Specified by:
remoteAdminEventin interfaceRemoteServiceAdminListener- Parameters:
event- TheRemoteServiceAdminEventobject.
-
event
- Specified by:
eventin interfaceEventListenerHook
-
getEndpointFilters
- Specified by:
getEndpointFiltersin interfaceITopologyManager
-
setEndpointFilters
- Specified by:
setEndpointFiltersin interfaceITopologyManager
-