|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.services.deployment.ioc.URLDeploymentContext
public class URLDeploymentContext
Context used to describes how to query SAS Foundation Services metadata using a URL that references a services deployment file that has been exported from a SAS Metadata Server.
One must specify the following properties when defining this context.
Property | Description |
---|---|
MetadataSourceFactory.PROPERTY_SOFTWARECOMPONENT |
Service deployment's name (i.e. SoftwareComponent.Name) |
MetadataSourceFactory.PROPERTY_URL |
URL to the exported SAS Foundation Services deployment XML file |
This example creates a context which will be used to query SAS Foundation Services metadata from a URL to a SAS Foundation Services deployment which has been exported from the SAS Metadata Server.
// specify configuration properties necessary to query // SAS Foundation Services deployment metadata // from a SAS Metadata Server repository URLDeploymentContext context = new URLDeploymentContext(); // name of the SAS Foundation Services deployment // (e.g. the SoftwareComponent.Name) context.setPropertySoftwareComponent("Local Services"); // URL to an exported SAS Foundation Services deployment file context.setPropertyURL("file:/C:/xxx/local_services.xml");
OMRDeploymentContext
Constructor Summary | |
---|---|
URLDeploymentContext(AbstractDeploymentStrategy strategy)
Constructs a context that describes SAS Foundation Services deployment metadata which is persisted in a SAS Metadata Repository. |
Method Summary | |
---|---|
java.lang.String |
getPropertyURL()
Gets the value of the URL configuration. |
void |
setPropertyURL(java.lang.String url)
Gets the value of the URL configuration . |
Methods inherited from class com.sas.services.deployment.DeploymentDescriptorContext |
---|
createDocument, createFile, createFiles, getProperty, getPropertySoftwareComponent, reconfigure, setProperty, setPropertySoftwareComponent |
Constructor Detail |
---|
public URLDeploymentContext(AbstractDeploymentStrategy strategy) throws ServiceException
strategy
- Deployment strategy.
ServiceException
- if unable to create a context.Method Detail |
---|
public final java.lang.String getPropertyURL()
null
will be returned if the specified property is
not defined.public final void setPropertyURL(java.lang.String url)
url
- Configuration property value representing a URL to
a SAS Foundation Services metadata source.
|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |