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

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

  Methods in com.sas.services.deployment that throw ServiceNotAvailableException
  Modifier and Type
  Method
  Description
  `static final RemoteServiceInterface`
  PlatformServices.`findService(ServiceTemplate serviceTemplate)`
  Finds a service satisfying the specified service template.
  `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 RemoteServiceInterface`
  PlatformServices.`findServiceUsingId(String serviceId)`
  Finds a service associated with the specified service ID.

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

  Methods in com.sas.services.discovery that throw ServiceNotAvailableException
  Modifier and Type
  Method
  Description
  `RemoteServiceInterface`
  AbstractDiscoveryService.`findService(ServiceTemplate serviceTemplate)`
  Finds a service using a discovery mechanism.
  `RemoteServiceInterface`
  ActivatableDiscoveryService.`findService(ServiceTemplate serviceTemplate)`
  Finds a service using a discovery mechanism.
  `RemoteServiceInterface`
  FindServiceInterface.`findService(ServiceTemplate serviceTemplate)`
  Finds a service using a discovery mechanism.
  `RemoteServiceInterface`
  RegistryDiscoveryService.`findService(ServiceTemplate serviceTemplate)`
  Finds a service using a discovery mechanism.
  `final RemoteServiceInterface`
  RemoteDiscoveryServiceProxy.`findService(ServiceTemplate serviceTemplate)`
  Finds a service using a discovery mechanism.
  `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.
  `RemoteServiceInterface`
  AbstractDiscoveryService.`findServiceUsingId(String runtimeServiceId)`
  Re-acquires a previously discovered service via its service discovery ID.
  `RemoteServiceInterface`
  ActivatableDiscoveryService.`findServiceUsingId(String runtimeServiceId)`
  Re-acquires a previously discovered service via its service discovery ID.
  `RemoteServiceInterface`
  FindServiceInterface.`findServiceUsingId(String serviceId)`
  Re-acquires a previously discovered service via its service discovery ID.
  `RemoteServiceInterface`
  RegistryDiscoveryService.`findServiceUsingId(String runtimeServiceId)`
  Re-acquires a previously discovered service via its service discovery ID.
  `RemoteServiceInterface`
  RemoteDiscoveryServiceProxy.`findServiceUsingId(String serviceId)`
  Re-acquires a previously discovered service via its service discovery ID.