Interface GlobalRegistryServiceProvider
-
- All Known Implementing Classes:
BootstrapRegistry
,ServiceRegistry
,TwoPhaseBootstrap
public interface GlobalRegistryServiceProvider
This interface provides access to aGlobalRegistry
service. Callers may use this to retrieve the current global registry. Usually this is implemented by a service registry.
This interface differs fromGlobalRegistryProvider
by providing an instance of aGlobalRegistry
instead 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 GlobalRegistry
getGlobalRegistry(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, aServiceNotKnownException
will be thrown.
-
-