Interface GlobalRegistryServiceProvider

  • All Known Implementing Classes:
    BootstrapRegistry, ServiceRegistry, TwoPhaseBootstrap

    public interface GlobalRegistryServiceProvider
    This interface provides access to a GlobalRegistry service. Callers may use this to retrieve the current global registry. Usually this is implemented by a service registry.
    This interface differs from GlobalRegistryProvider by providing an instance of a GlobalRegistry instead of its URIs. The URIs are usually used by a service registry to find the corresponding global registry.
    • Method Detail

      • getGlobalRegistry

        GlobalRegistry getGlobalRegistry​(SessionToken session)
                                  throws ServiceNotKnownException
        Gets (the instance of) the current global registry.
        Parameters:
        session - The session with which to retrieve the global registry.
        Returns:
        Gets the current global registry.
        Throws:
        ServiceNotKnownException - If there are problems retrieving the global registry, a ServiceNotKnownException will be thrown.