*** This class provides Binary Compatibility only, not Source Compatibility ***
Package com.sas.services.deployment
Class PlatformServicesConfiguration
java.lang.Object
com.sas.services.deployment.PlatformServicesConfiguration
@SASScope("ALL")
@BinaryCompatibilityOnly
public class PlatformServicesConfiguration
extends Object
Foundation services configuration file used to configure the
services to be locally instantiated or remotely looked up
by the foundation services facade.
- Since:
- 1.1
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPlatformServicesConfiguration(MetadataSourceInterface[] localMetadataSources, MetadataSourceInterface[] remoteMetadataSources) Constructs an instance of a foundation services configuration defined by the specified metadata sources. -
Method Summary
Modifier and TypeMethodDescriptionstatic final MetadataSourceInterfacecreateMetadataSource(String url, String userId, String userPassword) Define a metadata source based upon the URL.Gets metadata sources defining local foundation service deployment configurations.Gets metadata sources defining remote foundation service deployment configurations.static final booleanisOpenMetadataRepositoryURL(String deploymentConfigurationURL) Determines whether or not the specified URL is for an OMR server.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
URL_OMR
public static final String URL_OMRURL prefix designating an SAS Metadata Repository server resource.- See Also:
-
URL_FILE
public static final String URL_FILEURL prefix designating an file resource.- See Also:
-
-
Constructor Details
-
PlatformServicesConfiguration
public PlatformServicesConfiguration(MetadataSourceInterface[] localMetadataSources, MetadataSourceInterface[] remoteMetadataSources) throws IllegalArgumentException Constructs an instance of a foundation services configuration defined by the specified metadata sources.- Parameters:
localMetadataSources- Array ofMetadataSourceInterfaceelements that define sources of service deployments which are to be instantiated in this process.remoteMetadataSources- Array ofMetadataSourceInterfaceelements that define sources of service deployments which have been instantiated by another process and are to be remotely looked up by this process.- Throws:
IllegalArgumentException- if no metadata sources are specified.- See Also:
-
-
Method Details
-
isOpenMetadataRepositoryURL
public static final boolean isOpenMetadataRepositoryURL(String deploymentConfigurationURL) Determines whether or not the specified URL is for an OMR server.- Parameters:
deploymentConfigurationURL- URL designating a source from which a foundation services configuration can be queried.- Returns:
trueif the URL designates a SAS Metadata Repository.
-
getLocalMetadataSources
Gets metadata sources defining local foundation service deployment configurations.- Returns:
- Metadata sources defining local foundation service deployment configurations.
-
getRemoteMetadataSources
Gets metadata sources defining remote foundation service deployment configurations.- Returns:
- Metadata sources defining remote foundation service deployment configurations.
-
createMetadataSource
public static final MetadataSourceInterface createMetadataSource(String url, String userId, String userPassword) Define a metadata source based upon the URL.- Parameters:
url- URL defining a metadata source employing the syntax:sas-oma://hostname[:port];protocol=COM | BRIDGE;protocolOptions;IOMNameValuePairs/reposid=ABCDEFGH | reposname=reposName;OMINameValuepairs/MetadataType;id=ABCDEFGH.A1234567 | MetadataType?QueryString
userId- User identity. Required for an OMR source.userPassword- User password. Required for an OMR source.- Returns:
- Metadata source from which a foundation services configuration can be queried.
-