### *** This interface provides Binary Compatibility only, not Source Compatibility ***

Package com.sas.services

# Interface DocumentServiceConfigAdapterInterface

All Known Implementing Classes:
  `SessionServiceInitializer`

@SASScope("ALL") @BinaryCompatibilityOnly public interface DocumentServiceConfigAdapterInterface
Interface used to adapt an XML document to a service configuration.

Since:
  9.2

- ## Method Summary

  Modifier and Type
  Method
  Description
  `AbstractServiceComponentConfig`
  `createConfigFromDocument(Document document)`
  Converts an XML document to a service configuration.

- ## Method Details

  - ### createConfigFromDocument

    AbstractServiceComponentConfig createConfigFromDocument(Document document) throws ServiceException
    Converts an XML document to a service configuration.
    Parameters:
      `document` - XML document that represents a service configuration.
    Returns:
      Service configuration.
    Throws:
      `ServiceException` - if unable to adapt the XML document to a service configuration.