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 LockBox lockBox
final MondrianServer staticServer
public MondrianServer serverForId(String instanceId)
instanceId - Unique identifier of server instanceRuntimeException - if no server instance existspublic MondrianServer.MondrianVersion getOrLoadVersion()
public MondrianServer createWithRepository(RepositoryContentFinder contentFinder, CatalogLocator catalogLocator)