# Uses of Interface
com.sas.services.ServiceAttributeInterface

Packages that use ServiceAttributeInterface
Package
Description
com.sas.services
SAS Foundation Services.
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 ServiceAttributeInterface in com.sas.services

  Classes in com.sas.services that implement ServiceAttributeInterface
  Modifier and Type
  Class
  Description
  `class`
  `AbstractServiceAttribute`
  Service attribute describing some additional criteria that may be used to distinguish services that implement the same service type(s) as specified by Java classes.
  Methods in com.sas.services that return ServiceAttributeInterface
  Modifier and Type
  Method
  Description
  `final ServiceAttributeInterface`
  AbstractServiceAttributeFactory.`getServiceAttribute(ServiceConfigurationInterface serviceConfiguration)`
  Gets the service attribute from the provided service configuration.
  `abstract ServiceAttributeInterface`
  AbstractServiceAttributeFactory.`getServiceAttribute(Map nameValueMap)`
  Abstract method used to get a service attribute with its fields initialized with values obtained from the specified map.

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

  Methods in com.sas.services.deployment that return ServiceAttributeInterface
  Modifier and Type
  Method
  Description
  `final ServiceAttributeInterface`
  ServiceAttribute.`getServiceAttribute()`
  Gets the service attribute.
  `final ServiceAttributeInterface`
  ServiceAttribute.`getServiceAttribute(ServiceConfigurationInterface serviceConfiguration)`
  Gets the service attribute.
  `ServiceAttributeInterface`
  ServiceAttributeFactoryInterface.`getServiceAttribute(ServiceConfigurationInterface serviceConfiguration)`
  Manufactures a service attribute based upon the initialization data specified in the service configuration.
  Method parameters in com.sas.services.deployment with type arguments of type ServiceAttributeInterface
  Modifier and Type
  Method
  Description
  `protected static void`
  AbstractServiceConfigFactory.`addKeywordAttributes(List<ServiceAttributeInterface> attributes, com.sas.metadata.remote.Root root)`
  Gets a set of `NameValueAttribute` attributes for each Keyword associated to the specified metadata object.

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

  Classes in com.sas.services.discovery that implement ServiceAttributeInterface
  Modifier and Type
  Class
  Description
  `final class`
  `HostAttribute`
  A foundation service discovery attribute which may be used to locate a service which has been deployed on a particular host by using the host's name and/or IP address.
  `class`
  `IdAttribute`
  A foundation service discovery attribute representing an ID and ID type.
  `final class`
  `IsRemotelyAccessibleAttribute`
  A foundation service discovery attribute which may be used to locate a service based on whether or not it can be accessed by remote clients.
  `final class`
  `JVMAttribute`
  A foundation service discovery attribute which may be used to locate a service which has been instantiated in the local JVM or the same JVM as another previously discovered service.
  `class`
  `MetadataAttribute`
  A service attribute that denotes membership in a group of software components.
  `class`
  `NameValueAttribute`
  A foundation service discovery attribute which may be used to find a service based upon a name/value.
  `final class`
  `ServiceComponentAttribute`
  A foundation service discovery attribute which represents an foundation service.
  `final class`
  `ServiceDeploymentAttribute`
  A foundation service discovery attribute which represents an application's service deployment which may be used to discover a foundation service that belongs to a particular service deployment.
  `class`
  `ServiceGroupAttribute`
  A service attribute that denotes membership in a group of software components.
  Methods in com.sas.services.discovery that return ServiceAttributeInterface
  Modifier and Type
  Method
  Description
  `final ServiceAttributeInterface[]`
  ServiceDiscoveryConfiguration.`getServiceAttributes()`
  Gets attributes of a service that may be used to refine a service lookup based upon attributes.
  `ServiceAttributeInterface[]`
  ServiceDiscoveryConfigurationInterface.`getServiceAttributes()`
  Gets optional attributes that may be provided to specify additional lookup criteria about a service.
  `final ServiceAttributeInterface[]`
  ServiceTemplate.`getServiceAttributes()`
  Gets service attributes that are used to distinguish among services that satisfy the same service type(s).
  Methods in com.sas.services.discovery with parameters of type ServiceAttributeInterface
  Modifier and Type
  Method
  Description
  `final boolean`
  ServiceDiscoveryConfiguration.`addServiceAttribute(ServiceAttributeInterface serviceAttribute)`
  Adds a service lookup attribute.
  `boolean`
  ServiceDiscoveryConfigurationInterface.`addServiceAttribute(ServiceAttributeInterface serviceAttribute)`
  Adds a service lookup attribute.
  `final void`
  ServiceDiscoveryConfiguration.`addServiceAttributes(ServiceAttributeInterface[] serviceAttributes)`
  Adds attributes of a service that may be used to distinguish among several services that satisfy the same service types.
  `final void`
  ServiceTemplate.`defineServiceTemplate(Class[] serviceTypeClasses, ServiceAttributeInterface[] serviceAttributes)`
  Specifies the service type(s) and optional service attribute(s) that define this service request template.
  `final boolean`
  ServiceDiscoveryConfiguration.`removeServiceAttribute(ServiceAttributeInterface serviceAttribute)`
  Removes a service lookup attribute.
  `boolean`
  ServiceDiscoveryConfigurationInterface.`removeServiceAttribute(ServiceAttributeInterface serviceAttribute)`
  Removes a service lookup attribute.
  `final void`
  ServiceDiscoveryConfiguration.`setServiceAttributes(ServiceAttributeInterface[] serviceAttributes)`
  Sets attributes of a service that may be used to distinguish among several services that satisfy the same service types.
  `void`
  ServiceDiscoveryConfigurationInterface.`setServiceAttributes(ServiceAttributeInterface[] serviceAttributes)`
  Sets optional attributes that may be provided to specify additional lookup criteria about a service.
  Method parameters in com.sas.services.discovery with type arguments of type ServiceAttributeInterface
  Modifier and Type
  Method
  Description
  `final void`
  ServiceDiscoveryConfiguration.`addServiceAttributes(List<ServiceAttributeInterface> serviceAttributesList)`
  Adds attributes of a service that may be used to distinguish among several services that satisfy the same service types.
  `void`
  ServiceDiscoveryConfigurationInterface.`addServiceAttributes(List<ServiceAttributeInterface> serviceAttributes)`
  Adds service lookup attributes.
  Constructors in com.sas.services.discovery with parameters of type ServiceAttributeInterface
  Modifier
  Constructor
  Description
  ``
  `ServiceDiscoveryConfiguration(boolean isRegistrationEnabled, Class[] serviceTypes, ServiceAttributeInterface[] serviceAttributes, String repositoryId)`
  Constructs an instance using the specified registration policy.
  ``
  `ServiceTemplate(Class[] serviceTypeClasses, ServiceAttributeInterface[] serviceAttributes)`
  Constructs an instance of a service template which defines the type of service that's desired an optional attributes that may be used to distinguish among services that satisfy the same service type.