Package org.eclipse.rdf4j.federated

## Class FederationContext

- java.lang.Object
- - org.eclipse.rdf4j.federated.FederationContext

-     public class FederationContext
      extends Object

  Context to maintain the state of the current federation
  Author:
    Andreas Schwarte

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `FederationContext​(FederationManager manager, EndpointManager endpointManager, QueryManager queryManager, DelegateFederatedServiceResolver federatedServiceResolver, Monitoring monitoring, FedXConfig fedXConfig)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `FederationEvalStrategy` | `createStrategy​(Dataset dataset)` | Create a fresh `FederationEvalStrategy` using information from this federation context.
    `FedXConfig` | `getConfig()` |
    `EndpointManager` | `getEndpointManager()` |
    `DelegateFederatedServiceResolver` | `getFederatedServiceResolver()` |
    `FedX` | `getFederation()` |
    `FederationManager` | `getManager()` |
    `Monitoring` | `getMonitoringService()` |
    `QueryManager` | `getQueryManager()` |
    `SourceSelectionCache` | `getSourceSelectionCache()` |

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### FederationContext

          public FederationContext​(FederationManager manager,
                                   EndpointManager endpointManager,
                                   QueryManager queryManager,
                                   DelegateFederatedServiceResolver federatedServiceResolver,
                                   Monitoring monitoring,
                                   FedXConfig fedXConfig)

  - ### Method Detail

    - #### getFederation

          public FedX getFederation()

    - #### getManager

          public FederationManager getManager()

    - #### getQueryManager

          public QueryManager getQueryManager()

    - #### getEndpointManager

          public EndpointManager getEndpointManager()

    - #### getMonitoringService

          public Monitoring getMonitoringService()

    - #### getFederatedServiceResolver

          public DelegateFederatedServiceResolver getFederatedServiceResolver()

    - #### getConfig

          public FedXConfig getConfig()

    - #### getSourceSelectionCache

          public SourceSelectionCache getSourceSelectionCache()

    - #### createStrategy

          public FederationEvalStrategy createStrategy​(Dataset dataset)

      Create a fresh `FederationEvalStrategy` using information from this federation context.