|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.services.deployment.OMRServiceConfigFactory
public final class OMRServiceConfigFactory
Factory used to manufacture a service configuration using metadata queried from a SAS metadata repository.
Field Summary |
---|
Fields inherited from class com.sas.services.deployment.AbstractServiceConfigFactory |
---|
PROPERTYNAME_INITDATA, PROPERTYROLE_INITIALIZATION |
Constructor Summary | |
---|---|
OMRServiceConfigFactory(java.lang.String repositoryName,
ConnectionInterface metadataServerConnection)
Constructs a factory which can be used to manufacture service configurations queried from a SAS metadata repository. |
|
OMRServiceConfigFactory(java.lang.String repositoryName,
com.sas.meta.SASOMI.IOMI omi)
Constructs a factory which can be used to manufacture service configurations queried from a SAS metadata repository. |
Method Summary | |
---|---|
ServiceConfigurationInterface |
createConfigForService(java.lang.String softwareComponentName,
java.lang.String treeName,
java.lang.String serviceComponentName,
MetadataSourceInterface metadataSource,
boolean isRMIExportEnabled)
Query the service's configuration using a metadata resource adaptor. |
Methods inherited from class com.sas.services.deployment.AbstractServiceConfigFactory |
---|
addKeywordAttributes, addServiceAttributes, createServiceConfig, destroy, getMdFactory, getMdObjectStore, getServiceTypes |
Constructor Detail |
---|
public OMRServiceConfigFactory(java.lang.String repositoryName, ConnectionInterface metadataServerConnection) throws ServiceException
Destroy this object by calling AbstractServiceConfigFactory.destroy()
when it is no longer needed.
repositoryName
- The name of the repository from which foundation services metadata
is to be queried.metadataServerConnection
- A connection to a metadata server.
ServiceException
- if unable to create a metadata factory using the
specified connection or if unable to locate the named repository.createConfigForService(String, String, String, MetadataSourceInterface, boolean)
,
AbstractServiceConfigFactory.destroy()
public OMRServiceConfigFactory(java.lang.String repositoryName, com.sas.meta.SASOMI.IOMI omi) throws ServiceException
Destroy this object by calling AbstractServiceConfigFactory.destroy()
when it is no longer needed.
repositoryName
- The name of the repository from which foundation services metadata
is to be queried.omi
- A connection to a metadata server.
ServiceException
- if unable to create a metadata factory using the
specified connection or if unable to locate the named repository.
java.lang.IllegalArgumentException
- if a null
parameter is specified.createConfigForService(String, String, String, MetadataSourceInterface, boolean)
,
AbstractServiceConfigFactory.destroy()
Method Detail |
---|
public ServiceConfigurationInterface createConfigForService(java.lang.String softwareComponentName, java.lang.String treeName, java.lang.String serviceComponentName, MetadataSourceInterface metadataSource, boolean isRMIExportEnabled) throws ServiceException
createConfigForService
in interface ServiceConfigFactoryInterface
createConfigForService
in class AbstractServiceConfigFactory
softwareComponentName
- The name of the SAS Foundation Services deployment. This
is the SoftwareComponent.Name
.treeName
- The name of the service deployment group.
This is the Tree.Name
.serviceComponentName
- The name of the service component.
This is the ServiceComponent.Name
.metadataSource
- Metadata source.isRMIExportEnabled
- true
if remote objects should be exported to the RMI system
or false
if they shouldn't.
ServiceException
- if unable to get the service configuration. The
ServiceException may wrap an exception that provides details concerning
the cause of the failure.
java.lang.IllegalStateException
- if this method is called after this object
has been destroyed.
|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |