|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.services.deployment.AbstractServiceDeployment
public abstract class AbstractServiceDeployment
Utilities to manipulate a foundation services deployment.
Constructor Summary | |
---|---|
AbstractServiceDeployment(java.lang.String softwareComponentName)
Constructs a representation of a foundation services deployment. |
Method Summary | |
---|---|
protected java.lang.String |
getSearchOptions(java.lang.String softwareComponentID)
Gets a search filter which will locate all ServiceComponents defined under a particular SoftwareComponent. |
static ServiceFactoryInterface |
getServiceFactory(java.lang.String serviceFactoryClassName)
Creates a service factory. |
java.lang.String |
getSoftwareComponentName()
Gets the name of the service deployment. |
protected java.lang.String |
getXMLSelectProperty(java.lang.String serviceComponentFQID,
java.lang.String configName)
Gets an XMLSelect which can be used to query a configuration property for a particular service component. |
abstract boolean |
installServiceConfiguration(java.lang.String configName,
java.lang.String configDesc,
java.io.File configFile,
java.lang.String serviceInterfaceClassName)
Adds an application configuration to the foundation service that implements the specified interface. |
Constructor Detail |
---|
public AbstractServiceDeployment(java.lang.String softwareComponentName) throws ServiceException
softwareComponentName
- Name of the SoftwareComponent
which represents a
foundation services deployment.
ServiceException
- if unable to query the service deployment metadata.Method Detail |
---|
public final java.lang.String getSoftwareComponentName()
public abstract boolean installServiceConfiguration(java.lang.String configName, java.lang.String configDesc, java.io.File configFile, java.lang.String serviceInterfaceClassName) throws ServiceException
configName
- The unique name for the application configuration
(e.g. "Information Delivery Portal").configDesc
- An optional description for the application configuration.configFile
- The file that contains a foundation services configuration
which is to be added to the service definition.serviceInterfaceClassName
- The fully-qualified Java class name for the primary interface
implemented by the service whose configuration is to be updated
(e.g. "com.sas.services.user.UserServiceInterface").
true
if the service configuration was successfully
installed.
ServiceException
- if unable to install the specified service
configuration.protected final java.lang.String getXMLSelectProperty(java.lang.String serviceComponentFQID, java.lang.String configName)
serviceComponentFQID
- The metadata ID of the service component.configName
- The name of the service configuration property. This corresponds to
the Property.Name attribute.
protected java.lang.String getSearchOptions(java.lang.String softwareComponentID)
softwareComponentID
- FQID of the SoftwareComponent.
public static final ServiceFactoryInterface getServiceFactory(java.lang.String serviceFactoryClassName) throws ServiceException
serviceFactoryClassName
- Fully-qualified Java class name for a service's factory
that implements ServiceFactoryInterface
.
ServiceException
- if unable to create a service factory.
|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |