public class MondrianServerRegistry extends Object
This class is not a public API. User applications should use the
methods in MondrianServer.
| Modifier and Type | Field and Description |
|---|---|
static MondrianServerRegistry |
INSTANCE |
(package private) LockBox |
lockBox
Registry of all servers.
|
(package private) MondrianServer |
staticServer
The one and only one server that does not have a repository.
|
| Constructor and Description |
|---|
MondrianServerRegistry() |
| Modifier and Type | Method and Description |
|---|---|
MondrianServer |
createWithRepository(RepositoryContentFinder contentFinder,
CatalogLocator catalogLocator) |
MondrianServer.MondrianVersion |
getOrLoadVersion() |
MondrianServer |
serverForId(String instanceId)
Looks up a server with a given id.
|
public static final MondrianServerRegistry INSTANCE
final MondrianServer staticServer
public MondrianServerRegistry()
public MondrianServer serverForId(String instanceId)
RuntimeException - if no server instance existsinstanceId - Unique identifier of server instancepublic MondrianServer.MondrianVersion getOrLoadVersion()
public MondrianServer createWithRepository(RepositoryContentFinder contentFinder, CatalogLocator catalogLocator)