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

Packages that use LookupPolicyInterface
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 LookupPolicyInterface in com.sas.services.deployment

  Methods in com.sas.services.deployment with parameters of type LookupPolicyInterface
  Modifier and Type
  Method
  Description
  `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 LookupPolicyInterface in com.sas.services.discovery

  Classes in com.sas.services.discovery that implement LookupPolicyInterface
  Modifier and Type
  Class
  Description
  `class`
  `LookupPolicyAttempts`
  A service discovery policy that will re-attempt to lookup services for a specified number of attempts.
  `class`
  `LookupPolicyTimeout`
  A service discovery policy that will re-attempt to lookup services until the specified timeout occurs.
  Methods in com.sas.services.discovery that return LookupPolicyInterface
  Modifier and Type
  Method
  Description
  `final LookupPolicyInterface`
  DiscoveryService.`getLookupPolicy()`
  Gets the lookup policy that controls whether or not an attempt is made to re-lookup a service in the event that it was not available.
  `LookupPolicyInterface`
  LocalDiscoveryServiceInterface.`getLookupPolicy()`
  Gets the lookup policy that controls whether or not an attempt is made to re-lookup a service in the event that it was not available.
  Methods in com.sas.services.discovery with parameters of type LookupPolicyInterface
  Modifier and Type
  Method
  Description
  `final void`
  DiscoveryService.`setLookupPolicy(LookupPolicyInterface lookupPolicy)`
  Specifies an implementation of policies related to service discovery.
  `void`
  LocalDiscoveryServiceInterface.`setLookupPolicy(LookupPolicyInterface lookupPolicy)`
  Specifies an implementation of policies related to service discovery.