Class MondrianServerRegistry


  • public class MondrianServerRegistry
    extends java.lang.Object
    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 Detail

      • logger

        public static final org.apache.log4j.Logger logger
      • lockBox

        final LockBox lockBox
        Registry of all servers.
      • staticServer

        final MondrianServer staticServer
        The one and only one server that does not have a repository.
    • Constructor Detail

      • MondrianServerRegistry

        public MondrianServerRegistry()
    • Method Detail

      • serverForId

        public MondrianServer serverForId​(java.lang.String instanceId)
        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:
        java.lang.RuntimeException - if no server instance exists
      • getCopyrightYear

        public java.lang.String getCopyrightYear()
      • getProductVersion

        public java.lang.String getProductVersion()