Package mondrian.server
Class MondrianServerRegistry
java.lang.Object
mondrian.server.MondrianServerRegistry
Registry of all servers within this JVM, and also serves as a factory for
servers.
This class is not a public API. User applications should use the
methods in MondrianServer
.
- Author:
- jhyde
-
Field Summary
Modifier and TypeFieldDescriptionstatic final MondrianServerRegistry
static final org.apache.logging.log4j.Logger
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateWithRepository
(RepositoryContentFinder contentFinder, CatalogLocator catalogLocator) int
serverForId
(String instanceId) Looks up a server with a given id.
-
Field Details
-
logger
public static final org.apache.logging.log4j.Logger logger -
INSTANCE
-
-
Constructor Details
-
MondrianServerRegistry
public MondrianServerRegistry()
-
-
Method Details
-
serverForId
Looks up a server with a given id. If the id is null, returns the static server.- Parameters:
instanceId
- Unique identifier of server instance- Returns:
- Server
- Throws:
RuntimeException
- if no server instance exists
-
getCopyrightYear
-
getProductVersion
-
getSchemaVersion
public int getSchemaVersion() -
getVersion
-
createWithRepository
public MondrianServer createWithRepository(RepositoryContentFinder contentFinder, CatalogLocator catalogLocator)
-