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
Exceptionprotected Dictionary<String,Object> createEndpointListenerProps(List<String> filters)
protected void deactivate()
public void remoteAdminEvent(RemoteServiceAdminEvent event)
RemoteServiceAdminListenerremoteAdminEvent in interface RemoteServiceAdminListenerevent - The RemoteServiceAdminEvent object.public void event(ServiceEvent event, Map listeners)
event in interface EventListenerHookpublic String[] getEndpointFilters()
getEndpointFilters in interface ITopologyManagerpublic String[] setEndpointFilters(String[] newFilters)
setEndpointFilters in interface ITopologyManagerCopyright © 2004–2020 Eclipse Foundation. All rights reserved.