# Uses of Class
com.sas.services.discovery.Services

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

  Methods in com.sas.services.deployment that return Services
  Modifier and Type
  Method
  Description
  `static final Services`
  PlatformServices.`findServices(ServiceTemplate serviceTemplate, int maxNumMatches, Services services)`
  Finds all services satisfying the specified service template up to the specified maximum.
  `static final Services`
  CorePlatformServices.`getServices()`
  Gets all available services.
  `static final Services`
  PlatformServices.`getServices()`
  Gets all available services.
  Methods in com.sas.services.deployment with parameters of type Services
  Modifier and Type
  Method
  Description
  `static final Services`
  PlatformServices.`findServices(ServiceTemplate serviceTemplate, int maxNumMatches, Services services)`
  Finds all services satisfying the specified service template up to the specified maximum.

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

  Methods in com.sas.services.discovery that return Services
  Modifier and Type
  Method
  Description
  `abstract Services`
  AbstractDiscoveryService.`findServices(ServiceTemplate serviceTemplate, int maxNumMatches, Services discoveredServices)`
  Finds a collection of services via a discovery mechanism.
  `Services`
  ActivatableDiscoveryService.`findServices(ServiceTemplate serviceTemplate, int maxNumMatches, Services discoveredServices)`
  Finds a collection of objects via a discovery mechanism.
  `final Services`
  DiscoveryService.`findServices(ServiceTemplate serviceTemplate, int maxNumMatches, Services discoveredServices)`
  Finds a collection of objects via a discovery mechanism.
  `final Services`
  DiscoveryService.`findServices(ServiceTemplate serviceTemplate, int maxNumMatches, Services discoveredServices, String serviceRequestId, int attemptNumber)`
  Finds a collection of objects via a discovery mechanism.
  `Services`
  FindServiceInterface.`findServices(ServiceTemplate serviceTemplate, int maxNumMatches, Services services)`
  Finds a collection of services via a discovery mechanism.
  `Services`
  RegistryDiscoveryService.`findServices(ServiceTemplate serviceTemplate, int maxNumMatches, Services services)`
  Finds a collection of services via a discovery mechanism.
  `final Services`
  RemoteDiscoveryServiceProxy.`findServices(ServiceTemplate serviceTemplate, int maxNumMatches, Services discoveredServices)`
  Finds a collection of objects via a discovery mechanism.
  `final Services`
  ServicesCache.`getServices(ServiceTemplate serviceTemplate, int maxNumMatches, Services services, boolean isLocal)`
  Gets a collection of services that satisfy the specified service capabilities.
  Methods in com.sas.services.discovery with parameters of type Services
  Modifier and Type
  Method
  Description
  `final void`
  ServicesCache.`add(Services services)`
  Adds a collection of services to the cache.
  `final boolean`
  Services.`addAll(Services services)`
  Adds all of the services to this collection.
  `abstract Services`
  AbstractDiscoveryService.`findServices(ServiceTemplate serviceTemplate, int maxNumMatches, Services discoveredServices)`
  Finds a collection of services via a discovery mechanism.
  `Services`
  ActivatableDiscoveryService.`findServices(ServiceTemplate serviceTemplate, int maxNumMatches, Services discoveredServices)`
  Finds a collection of objects via a discovery mechanism.
  `final Services`
  DiscoveryService.`findServices(ServiceTemplate serviceTemplate, int maxNumMatches, Services discoveredServices)`
  Finds a collection of objects via a discovery mechanism.
  `final Services`
  DiscoveryService.`findServices(ServiceTemplate serviceTemplate, int maxNumMatches, Services discoveredServices, String serviceRequestId, int attemptNumber)`
  Finds a collection of objects via a discovery mechanism.
  `Services`
  FindServiceInterface.`findServices(ServiceTemplate serviceTemplate, int maxNumMatches, Services services)`
  Finds a collection of services via a discovery mechanism.
  `Services`
  RegistryDiscoveryService.`findServices(ServiceTemplate serviceTemplate, int maxNumMatches, Services services)`
  Finds a collection of services via a discovery mechanism.
  `final Services`
  RemoteDiscoveryServiceProxy.`findServices(ServiceTemplate serviceTemplate, int maxNumMatches, Services discoveredServices)`
  Finds a collection of objects via a discovery mechanism.
  `final Services`
  ServicesCache.`getServices(ServiceTemplate serviceTemplate, int maxNumMatches, Services services, boolean isLocal)`
  Gets a collection of services that satisfy the specified service capabilities.
  `final boolean`
  Services.`removeAll(Services services)`
  Removes all of the services from this collection.
  Constructors in com.sas.services.discovery with parameters of type Services
  Modifier
  Constructor
  Description
  ``
  `Services(Services services)`
  Constructor that initializes this collection with the specified services.