Interface GlobalRegistryServiceProvider
-
- All Known Implementing Classes:
BootstrapRegistry,ServiceRegistry,TwoPhaseBootstrap
public interface GlobalRegistryServiceProviderThis interface provides access to aGlobalRegistryservice. Callers may use this to retrieve the current global registry. Usually this is implemented by a service registry.
This interface differs fromGlobalRegistryProviderby providing an instance of aGlobalRegistryinstead of its URIs. The URIs are usually used by a service registry to find the corresponding global registry.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GlobalRegistrygetGlobalRegistry(SessionToken session)Gets (the instance of) the current 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, aServiceNotKnownExceptionwill be thrown.
-
-