Interface GlobalRegistryServiceProvider
- All Known Implementing Classes:
BootstrapRegistry,ServiceRegistry,TwoPhaseBootstrap
public interface GlobalRegistryServiceProvider
This interface provides access to a
This interface differs from
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 Summary
Modifier and TypeMethodDescriptiongetGlobalRegistry(SessionToken session) Gets (the instance of) the current global registry.
-
Method Details
-
getGlobalRegistry
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.
-