*** This class provides Binary Compatibility only, not Source Compatibility ***
Package com.sas.services.deployment
Class MetadataSourceProperties
java.lang.Object
com.sas.services.deployment.MetadataSourceProperties
@SASScope("ALL")
@BinaryCompatibilityOnly
public final class MetadataSourceProperties
extends Object
Configuration properties used to specify a metadata source.
Properties which may be used to configure a metadata source
are described in the MetadataSourceFactory class.
- Since:
- 9.2
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a default instance.MetadataSourceProperties(Properties properties) Constructs properties which can be used to configure a metadata source for foundation services. -
Method Summary
Modifier and TypeMethodDescriptionvoiddestroy()Clears all properties.PropertiesGets a copy of the properties used to configure a metadata source.voidsetProperties(Properties properties) Sets properties used to configure a metadata source.voidsetPropertiesURL(URL propertiesURL) Initialize the configuration using properties read from the configuration at the specified URL.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
MetadataSourceProperties
public MetadataSourceProperties()Constructs a default instance.This object must be initialized using
setProperties(Properties).- See Also:
-
MetadataSourceProperties
Constructs properties which can be used to configure a metadata source for foundation services.- Parameters:
properties- Map containing properties used to configure a metadata source- Throws:
ServiceException- if an invalid map is specified.
-
-
Method Details
-
setPropertiesURL
Initialize the configuration using properties read from the configuration at the specified URL.- Parameters:
propertiesURL- URL from which properties will be loaded.- Throws:
ServiceException- if unable to load properties from the specified URL.
-
setProperties
Sets properties used to configure a metadata source.- Parameters:
properties- Properties used to configure a metadata source- Throws:
ServiceException- if an invalid map is specified.- See Also:
-
getProperties
public Properties getProperties()Gets a copy of the properties used to configure a metadata source.- Returns:
- Properties used to configure a metadata source.
- See Also:
-
destroy
public void destroy()Clears all properties.
-