# Uses of Interface
com.sas.services.discovery.FindServiceInterface

Packages that use FindServiceInterface
Package
Description
com.sas.services.deployment
This subsystem provides utilities to deploy and lookup SAS Foundation Services.
com.sas.services.discovery
Discover a service based upon its service capabilities and optionally service attributes.

- ## Uses of FindServiceInterface in com.sas.services.deployment

  Methods in com.sas.services.deployment that return types with arguments of type FindServiceInterface
  Modifier and Type
  Method
  Description
  `List<FindServiceInterface>`
  ServiceDeploymentException.`getDeployedRemoteDiscoveryServices()`
  Gets a copy of a list of the remote discovery services which were successfully located.
  `static final List<FindServiceInterface>`
  ServiceLoader.`lookupRemoteDiscoveryServices(MetadataSourceInterface metadataSource)`
  Gets a set of `DeployableService` elements representing remote discovery services that may be available if previously deployed by foundation bootstrap process and binds them to the local discovery service.
  `static final List<FindServiceInterface>`
  ServiceLoader.`lookupRemoteDiscoveryServices(MetadataSourceInterface metadataSource, DiscoveryServiceInterface discoveryService)`
  Gets a set of `DeployableService` elements representing remote discovery services that may be available if previously deployed by foundation bootstrap process.
  `static final List<FindServiceInterface>`
  ServiceLoader.`lookupRemoteDiscoveryServices(MetadataSourceInterface metadataSourceLookup, DiscoveryServiceInterface discoveryService, LookupPolicyInterface lookupPolicy)`
  Gets a set of `DeployableService` elements representing remote discovery services that may be available if previously deployed by foundation bootstrap process.

- ## Uses of FindServiceInterface in com.sas.services.discovery

  Subinterfaces of FindServiceInterface in com.sas.services.discovery
  Modifier and Type
  Interface
  Description
  `interface`
  `DiscoveryServiceInterface`
  Interface describing a discovery service in terms of its capability to act as a mechanism to find services based upon a desired service template and an administration interface that's used to add/remove services to the registry and to add/remove discovery delegates.
  `interface`
  `LocalDiscoveryServiceInterface`
  Interface describing a local discovery service that provides additional controls related to policy decisions peculiar to a local discovery service.
  `interface`
  `RemoteDiscoveryServiceInterface`
  Marker interface used to denote a discovery service that is capable of servicing remote clients.
  Classes in com.sas.services.discovery that implement FindServiceInterface
  Modifier and Type
  Class
  Description
  `class`
  `AbstractDiscoveryService`
  Abstract discovery service.
  `final class`
  `ActivatableDiscoveryService`
  Remotely accessible discovery service.
  `class`
  `DiscoveryService`
  Discovery service used to store registered services and discovery delegates.
  `final class`
  `RegistryDiscoveryService`
  A discovery service which can be used to locate foundation services which have been bound to an RMI registry.
  `class`
  `RemoteDiscoveryServiceProxy`
  Proxy to a discovery service that is capable of servicing remote clients.
  Methods in com.sas.services.discovery that return types with arguments of type FindServiceInterface
  Modifier and Type
  Method
  Description
  `Iterator<FindServiceInterface>`
  ActivatableDiscoveryService.`getDiscoverers()`
  Gets an iterator of the discovery services.
  `Iterator<FindServiceInterface>`
  DiscoveryAdminInterface.`getDiscoverers()`
  Gets an iterator of the discovery delegates that are used to locate services.
  `final Iterator<FindServiceInterface>`
  DiscoveryService.`getDiscoverers()`
  Gets an iterator for a copy of the set of discovery delegates.
  `final Iterator<FindServiceInterface>`
  RemoteDiscoveryServiceProxy.`getDiscoverers()`
  Gets an iterator of the discovery services.
  Methods in com.sas.services.discovery with parameters of type FindServiceInterface
  Modifier and Type
  Method
  Description
  `void`
  ActivatableDiscoveryService.`addDiscoveryDelegate(FindServiceInterface serviceFinder)`
  Adds an delegate that is capable of discovering implementations.
  `void`
  DiscoveryAdminInterface.`addDiscoveryDelegate(FindServiceInterface findServiceIf)`
  Adds a discovery delegate that will be used to lookup services.
  `final void`
  DiscoveryService.`addDiscoveryDelegate(FindServiceInterface discoveryDelegate)`
  Adds a discovery delegate.
  `void`
  RemoteDiscoveryServiceProxy.`addDiscoveryDelegate(FindServiceInterface serviceFinder)`
  Adds an delegate that is capable of discovering implementations.
  `void`
  ActivatableDiscoveryService.`removeDiscoveryDelegate(FindServiceInterface serviceFinder)`
  Removes an agent previously added as a discovery agent.
  `void`
  DiscoveryAdminInterface.`removeDiscoveryDelegate(FindServiceInterface findServiceIf)`
  Removes a discovery delegate formerly used to locate services.
  `final void`
  DiscoveryService.`removeDiscoveryDelegate(FindServiceInterface serviceLocator)`
  Removes a discovery delegate.
  `void`
  RemoteDiscoveryServiceProxy.`removeDiscoveryDelegate(FindServiceInterface serviceFinder)`
  Removes an agent previously added as a discovery agent.
  Constructor parameters in com.sas.services.discovery with type arguments of type FindServiceInterface
  Modifier
  Constructor
  Description
  ``
  `DiscoveryService(Set<FindServiceInterface> discoveryDelegates)`
  Constructs an instance of a discovery service and initializes it with discovery delegates specified in the provided collection.
  ``
  `DiscoveryService(Set<FindServiceInterface> discoveryDelegates, Set<RemoteServiceInterface> services)`
  Constructs an instance of a discovery service and initializes it with discovery delegates specified in the provided collection.