public class EndpointDescriptionLocator extends Object implements IEndpointDescriptionLocator
IDiscoveryLocator.| Modifier and Type | Class and Description |
|---|---|
class |
EndpointDescriptionLocator.EndpointEventListenerHolder |
class |
EndpointDescriptionLocator.EndpointListenerHolder |
| Constructor and Description |
|---|
EndpointDescriptionLocator(BundleContext context) |
public EndpointDescriptionLocator(BundleContext context)
public void start()
public void close()
public IDiscoveryAdvertiser[] getDiscoveryAdvertisers()
public IServiceInfoFactory getServiceInfoFactory()
public IDiscoveredEndpointDescriptionFactory getDiscoveredEndpointDescriptionFactory()
protected EndpointDescriptionLocator.EndpointListenerHolder[] getMatchingEndpointListenerHolders(EndpointDescription description)
protected EndpointDescriptionLocator.EndpointEventListenerHolder[] getMatchingEndpointEventListenerHolders(EndpointDescription description, int type)
description - descriptiontype - typepublic EndpointDescriptionLocator.EndpointEventListenerHolder[] getMatchingEndpointEventListenerHolders(ServiceReference[] refs, EndpointDescription description, int type)
refs - service referencesdescription - descriptiontype - typepublic EndpointDescriptionLocator.EndpointListenerHolder[] getMatchingEndpointListenerHolders(ServiceReference[] refs, EndpointDescription description)
public IServiceID getNetworkDiscoveredServiceID(EndpointDescription endpointDescription)
IEndpointDescriptionLocatorgetNetworkDiscoveredServiceID in interface IEndpointDescriptionLocatorendpointDescription - endpoint descriptionnull if no associated serviceIDpublic void discoverEndpoint(EndpointDescription endpointDescription)
IEndpointDescriptionLocatordiscoverEndpoint in interface IEndpointDescriptionLocatorendpointDescription - must not be nullpublic void updateEndpoint(EndpointDescription endpointDescription)
IEndpointDescriptionLocatorupdateEndpoint in interface IEndpointDescriptionLocatorendpointDescription - must not be nullpublic void undiscoverEndpoint(EndpointDescription endpointDescription)
IEndpointDescriptionLocatorundiscoverEndpoint in interface IEndpointDescriptionLocatorendpointDescription - must not be nullpublic EndpointDescription[] getDiscoveredEndpoints()
IEndpointDescriptionLocatorgetDiscoveredEndpoints in interface IEndpointDescriptionLocatorCopyright © 2004–2020 Eclipse Foundation. All rights reserved.