public class TopologyManager extends Object implements EventListenerHook, RemoteServiceAdminListener, ITopologyManager
Modifier and Type | Field and Description |
---|---|
protected ServiceRegistration<?> |
endpointListenerRegistration |
protected List<String> |
matchingFilters |
protected TopologyManagerImpl |
topologyManagerImpl |
ENDPOINT_ALLOWLOCALHOST, ENDPOINT_ALLOWLOCALHOST_PROP, ENDPOINT_CONDITIONAL_OP, ENDPOINT_CONDITIONAL_OP_PROP, ENDPOINT_EXTRA_CONDITIONAL, ENDPOINT_EXTRA_CONDITIONAL_PROP, ENDPOINT_EXTRA_FILTERS, ENDPOINT_EXTRA_FILTERS_PROP, EXPORT_REGISTERED_SERVICES_FILTER, EXPORT_REGISTERED_SERVICES_FILTER_PROP, ONLY_ECF_SCOPE
Constructor and Description |
---|
TopologyManager() |
Modifier and Type | Method and Description |
---|---|
protected void |
activate(BundleContext context,
Map<String,?> properties) |
protected Dictionary<String,Object> |
createEndpointListenerProps(List<String> filters) |
protected void |
deactivate() |
void |
event(ServiceEvent event,
Map listeners) |
String[] |
getEndpointFilters() |
void |
remoteAdminEvent(RemoteServiceAdminEvent event)
Receive notification of any export or import registrations and
unregistrations as well as errors and warnings.
|
String[] |
setEndpointFilters(String[] newFilters) |
protected TopologyManagerImpl topologyManagerImpl
protected ServiceRegistration<?> endpointListenerRegistration
protected void activate(BundleContext context, Map<String,?> properties) throws Exception
Exception
protected Dictionary<String,Object> createEndpointListenerProps(List<String> filters)
protected void deactivate()
public void remoteAdminEvent(RemoteServiceAdminEvent event)
RemoteServiceAdminListener
remoteAdminEvent
in interface RemoteServiceAdminListener
event
- The RemoteServiceAdminEvent
object.public void event(ServiceEvent event, Map listeners)
event
in interface EventListenerHook
public String[] getEndpointFilters()
getEndpointFilters
in interface ITopologyManager
public String[] setEndpointFilters(String[] newFilters)
setEndpointFilters
in interface ITopologyManager
Copyright © 2004–2020 Eclipse Foundation. All rights reserved.