# Uses of Interface
com.sas.services.deployment.MetadataSourceInterface

Packages that use MetadataSourceInterface
Package
Description
com.sas.services.deployment
This subsystem provides utilities to deploy and lookup SAS Foundation Services.

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

  Classes in com.sas.services.deployment that implement MetadataSourceInterface
  Modifier and Type
  Class
  Description
  `class`
  `AbstractMetadataSource`
  An abstract class representing a source of metadata such as an SAS Metadata Repository or a URL accessible file containing metadata exported from a SAS Metadata Repository via the Foundation Services Manager console plug-in.
  `final class`
  `OMRMetadataSource`
  SAS Metadata Repository metadata source from which a foundation services deployment can be queried.
  `final class`
  `URLMetadataSource`
  URL accessible metadata source for an application's foundation services deployment data.
  Methods in com.sas.services.deployment that return MetadataSourceInterface
  Modifier and Type
  Method
  Description
  `static MetadataSourceInterface`
  MetadataSourceFactory.`createMetadataSource(MetadataSourceProperties metadataSourceProperties, Environment environment)`
  Creates a metadata source based upon the specified properties.
  `static final MetadataSourceInterface`
  PlatformServicesConfiguration.`createMetadataSource(String url, String userId, String userPassword)`
  Define a metadata source based upon the URL.
  `MetadataSourceInterface[]`
  PlatformServicesConfiguration.`getLocalMetadataSources()`
  Gets metadata sources defining local foundation service deployment configurations.
  `final MetadataSourceInterface`
  MetadataSourceConfiguration.`getMetadataSource()`
  Gets the metadata source.
  `MetadataSourceInterface`
  MetadataSourceConfigurationInterface.`getMetadataSource()`
  Gets a metadata source capable of providing a platform service deployment.
  `MetadataSourceInterface[]`
  PlatformServicesConfiguration.`getRemoteMetadataSources()`
  Gets metadata sources defining remote foundation service deployment configurations.
  `static MetadataSourceInterface`
  MetadataSourceFactory.`newMetadataSource(Properties properties)`
  Creates a metadata source based upon the specified properties.
  `static MetadataSourceInterface`
  MetadataSourceFactory.`newMetadataSource(Properties properties, Environment environment)`
  Creates a metadata source based upon the specified properties.
  Methods in com.sas.services.deployment with parameters of type MetadataSourceInterface
  Modifier and Type
  Method
  Description
  `abstract ServiceConfigurationInterface`
  AbstractServiceConfigFactory.`createConfigForService(String softwareComponentName, String treeName, String serviceComponentName, MetadataSourceInterface metadataSource, boolean isRMIExportEnabled)`
  Query the service's configuration using a metadata resource adaptor.
  `ServiceConfigurationInterface`
  OMRServiceConfigFactory.`createConfigForService(String softwareComponentName, String treeName, String serviceComponentName, MetadataSourceInterface metadataSource, boolean isRMIExportEnabled)`
  Query the service's configuration using a metadata resource adaptor.
  `ServiceConfigurationInterface`
  ServiceConfigFactoryInterface.`createConfigForService(String softwareComponentName, String serviceGroupName, String serviceComponentName, MetadataSourceInterface metadataSource, boolean isRMIExportEnabled)`
  Query the service's configuration using a metadata resource adaptor.
  `ServiceConfigurationInterface`
  URLServiceConfigFactory.`createConfigForService(String softwareComponentName, String treeName, String serviceComponentName, MetadataSourceInterface metadataSource, boolean isRMIExportEnabled)`
  Query the service's configuration using a metadata resource adaptor.
  `protected ServiceConfigurationInterface`
  AbstractServiceConfigFactory.`createServiceConfig(String metadataXML, String softwareComponentName, String treeName, String serviceComponentName, MetadataSourceInterface metadataSource, boolean isRMIExportEnabled)`
  Creates a service configuration using the specified metadata.
  `ServiceConfigurationInterface`
  URLServiceConfigFactory.`createServiceConfiguration(String softwareComponentName, String treeName, String serviceComponentName, MetadataSourceInterface metadataSource, boolean isRMIExportEnabled)`
  Query the service's configuration using a metadata resource adaptor.
  `static final List<RemoteServiceInterface>`
  ServiceLoader.`deployServices(MetadataSourceInterface metadataSource)`
  Gets a set of services from the specified metadata source and registers instantiated services with the `local discovery service`.
  `static final List<RemoteServiceInterface>`
  ServiceLoader.`deployServices(MetadataSourceInterface metadataSource, Environment environment, DiscoveryServiceInterface discoveryService)`
  Gets a set of services from the specified metadata source.
  `static final List<RemoteServiceInterface>`
  ServiceLoader.`deployServices(MetadataSourceInterface metadataSource, DiscoveryServiceInterface discoveryService)`
  Gets a set of deployable services from the specified metadata source.
  `static DeployableService`
  DeployableServiceFactory.`getDeployableService(com.sas.metadata.remote.ServiceComponent serviceComponent, String[] requiredServiceTypes, com.sas.metadata.remote.SoftwareComponent softwareComponent, MetadataSourceInterface metadataSource)`
  Gets a deployable service from the service component.
  `static DeployableService`
  DeployableServiceFactory.`getDeployableService(com.sas.metadata.remote.ServiceComponent serviceComponent, String[] requiredServiceTypes, com.sas.metadata.remote.SoftwareComponent softwareComponent, MetadataSourceInterface metadataSource, Environment environment)`
  Gets a deployable service from the service component.
  `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.
  `final void`
  MetadataSourceConfiguration.`setMetadataSource(MetadataSourceInterface metadataSource)`
  Sets the metadata source.
  Constructors in com.sas.services.deployment with parameters of type MetadataSourceInterface
  Modifier
  Constructor
  Description
  ``
  `MetadataSourceConfiguration(MetadataSourceInterface metadataSource)`
  Constructs an instance using the specified metadata source.
  ``
  `PlatformServicesConfiguration(MetadataSourceInterface[] localMetadataSources, MetadataSourceInterface[] remoteMetadataSources)`
  Constructs an instance of a foundation services configuration defined by the specified metadata sources.