Package mondrian.spi

Examples of mondrian.spi.CatalogLocator


      throw new ReportDataFactoryException("No schema file defined.");
    }

    try
    {
      final CatalogLocator locator = ClassicEngineBoot.getInstance().getObjectFactory().get(CatalogLocator.class);
      final String mappedCatalog = locator.locate(mondrianCubeFile);
      if (StringUtils.isEmpty(mappedCatalog) == false)
      {
        return mappedCatalog;
      }
    }
View Full Code Here


        Map<String, String> catalogNameUrls,
        Role role)
        throws IOException, XOMException
    {
        // make request
        CatalogLocator cl = getCatalogLocator();
        DataSourcesConfig.DataSources dataSources =
            getDataSources(connectString, catalogNameUrls);
        XmlaHandler handler = new XmlaHandler(dataSources, cl, "xmla");
        Util.PropertyList propertyList = Util.parseConnectString(connectString);
        String roleName =
View Full Code Here

              // XMLA servlet. It must conform to Datasources.dtd,
              // as specified by olap4j-xmlaserver.
              return getDatasourcesXml();
            }
          },
          new CatalogLocator() {
            public String locate( String URL ) {
              return URL;
            }
          }
        );
View Full Code Here

        throws ServletException
    {
        if (server == null) {
            // A derived class can alter how the calalog locator object is
            // created.
            CatalogLocator catalogLocator = makeCatalogLocator(servletConfig);

            String dataSources = makeDataSourcesUrl(servletConfig);
            RepositoryContentFinder contentFinder =
                makeContentFinder(dataSources);
            server =
View Full Code Here

TOP

Related Classes of mondrian.spi.CatalogLocator

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.