Class FederationManager


  • public class FederationManager
    extends Object
    The FederationManager manages all modules necessary for the runtime behavior. This includes for instance the federation layer instance, cache and statistics. It is Singleton and there can only be on federation instance at a time.

    The factory FedXFactory provides various functions for initialization of FedX and should be used as the entry point for any application using FedX.

     Config.initialize(fedxConfig);
     List<Endpoint> members = ...                  // e.g. use EndpointFactory methods
     FedXRepository repo = FedXFactory.initializeFederation(endpoints);
     ReositoryConnection conn = repo.getConnection();
    
     // Do something with the connection, e.g. query evaluation
     repo.shutDown();
     
    Author:
    Andreas Schwarte