# Uses of Class
com.sas.services.deployment.Environment

Packages that use Environment
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.security
Perform Authentication against modular authentication providers with user identities.
com.sas.services.util
Utility classes used by Foundation Services.

- ## Uses of Environment in com.sas.services

  Methods in com.sas.services that return Environment
  Modifier and Type
  Method
  Description
  `protected final Environment`
  AbstractRemoteService.`getEnvironment()`
  Get the Environment object.
  `final Environment`
  ServiceConfiguration.`getEnvironment()`
  Gets the environment object.
  `Environment`
  ServiceConfigurationInterface.`getEnvironment()`
  Gets the environment object.
  Methods in com.sas.services with parameters of type Environment
  Modifier and Type
  Method
  Description
  `final void`
  ServiceConfiguration.`setEnvironment(Environment environment)`
  Sets the environment object.

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

  Methods in com.sas.services.deployment with parameters of type Environment
  Modifier and Type
  Method
  Description
  `static com.sas.metadata.remote.MdStore`
  AbstractMetadataSource.`createMdStore(boolean isRemotelyAccessible, Map<String,String> metaOptions, Environment environment)`
  Creates a metadata object store in a new metadata factory.
  `static MetadataSourceInterface`
  MetadataSourceFactory.`createMetadataSource(MetadataSourceProperties metadataSourceProperties, Environment environment)`
  Creates a metadata source based upon the specified properties.
  `static final List<RemoteServiceInterface>`
  ServiceLoader.`deployServices(MetadataSourceInterface metadataSource, Environment environment, DiscoveryServiceInterface discoveryService)`
  Gets a set of 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, Environment environment)`
  Gets a deployable service from the service component.
  `static ServiceConfigurationInterface`
  DeployableServiceFactory.`getServiceConfiguration(com.sas.metadata.remote.ServiceComponent serviceComponent, org.apache.logging.log4j.Logger logger, Environment environment)`
  Creates a service configuration for the specified service.
  `static MetadataSourceInterface`
  MetadataSourceFactory.`newMetadataSource(Properties properties, Environment environment)`
  Creates a metadata source based upon the specified properties.
  `static final void`
  CorePlatformServices.`setEnvironment(Environment environment)`
  Specified the environment resources to be used by this facade.
  `static final void`
  PlatformServices.`setEnvironment(Environment environment)`
  Specified the environment resources to be used by this facade.
  Constructors in com.sas.services.deployment with parameters of type Environment
  Modifier
  Constructor
  Description
  ``
  `OMRMetadataSource(com.sas.meta.SASOMI.IOMI omi, String repositoryNameOrID, String softwareComponentName, Set<String> serviceGroupNames, Environment environment)`
  Constructs an instance with the specified SAS Metadata Server host, port, identity and password, and `Set` of `String` elements representing the foundation service deployments that are to be deployed.
  ``
  `OMRMetadataSource(String omrHost, String omrPort, String omrIdentity, String omrIdentityPassword, String repositoryNameOrID, String softwareComponentName, Set<String> serviceGroupNames, Environment environment)`
  Constructs an instance with the specified SAS Metadata Server host, port, identity and password, and `Set` of `String` elements representing the foundation service deployments that are to be deployed.
  ``
  `OMRMetadataSource(String repositoryNameOrID, String softwareComponentName, Set<String> serviceGroupNames, String omrHost, String omrPort, String secSPN, String secPackageList, Environment environment)`
  Constructs an instance which will open a single sign-on connection to the specified SAS Metadata Server.

- ## Uses of Environment in com.sas.services.security

  Methods in com.sas.services.security that return Environment
  Modifier and Type
  Method
  Description
  `Environment`
  ConnectionProfile.`getEnvironment()`
  Returns an Environment containing the login configuration for this connection.

- ## Uses of Environment in com.sas.services.util

  Methods in com.sas.services.util that return Environment
  Modifier and Type
  Method
  Description
  `Environment`
  ServicesLoggerFactory.`getEnvironment()`
  Methods in com.sas.services.util with parameters of type Environment
  Modifier and Type
  Method
  Description
  `static String`
  JAASUtil.`getJAASOption(Environment environment, String loginConfigAppName, String optionName)`
  Return the first value for an option in the JAAS configuration.