# Package com.marklogic.xcc.spi

XCC Service Provider Interface Package.

See: Description

- Interface Summary
  Interface | Description
  --- | ---
  ConnectionProvider | This interface defines a provider of Sockets for a `ContentSource`.
  ServerConnection | This class encapsulates a server connection as returned from a `ConnectionProvider` instance.
  SingleHostAddress | This interface should be implemented by `ConnectionProvider` implementations that make socket connections to a single host and port.

- Class Summary
  Class | Description
  --- | ---
  ConnectionErrorAction | This is a type-safe enumeration that defines the possible return values of `ConnectionProvider.returnErrorConnection(ServerConnection, Throwable, java.util.logging.Logger)` .

## Package com.marklogic.xcc.spi Description

### XCC Service Provider Interface Package.

This package contains interfaces and classes that define a back-end SPI that will allow for customization of the XCC implementation.

NOTE: This package is intended for customizaton by advanced users only. MarkLogic does not endorse the use of the SPI package without prior consultation. Use at your own risk.

Copyright © 2025 MarkLogic Corporation

Complete online documentation for MarkLogic Server, XQuery and related components may be found at docs.progress.com