*** This class provides Binary Compatibility only, not Source Compatibility ***

Class OMRServiceConfigFactory

java.lang.Object
com.sas.services.deployment.AbstractServiceConfigFactory
com.sas.services.deployment.OMRServiceConfigFactory
All Implemented Interfaces:
ServiceConfigFactoryInterface

@SASScope("ALL") @BinaryCompatibilityOnly public final class OMRServiceConfigFactory extends AbstractServiceConfigFactory
Factory used to manufacture a service configuration using metadata queried from a SAS metadata repository.
Since:
9.2
  • Constructor Details

  • Method Details

    • createConfigForService

      public ServiceConfigurationInterface createConfigForService(String softwareComponentName, String treeName, String serviceComponentName, MetadataSourceInterface metadataSource, boolean isRMIExportEnabled) throws ServiceException
      Query the service's configuration using a metadata resource adaptor. If an identity is not explicitly specified, then use a pre-configured identity obtained from the JAAS login-config.xml.
      Specified by:
      createConfigForService in interface ServiceConfigFactoryInterface
      Specified by:
      createConfigForService in class AbstractServiceConfigFactory
      Parameters:
      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.
      Returns:
      Service configuration
      Throws:
      ServiceException - if unable to get the service configuration. The ServiceException may wrap an exception that provides details concerning the cause of the failure.
      IllegalStateException - if this method is called after this object has been destroyed.