Package mondrian.server

Examples of mondrian.server.StringRepositoryContentFinder


     * Tests a server with its own repository.
     */
    public void testStringRepository() throws MalformedURLException {
        final MondrianServer server =
            MondrianServer.createWithRepository(
                new StringRepositoryContentFinder("foo bar"),
                null);
        final int id = server.getId();
        assertNotNull(id);
        server.shutdown();
    }
View Full Code Here


    protected void setUp() throws Exception {
        super.setUp();
        DiffRepository diffRepos = getDiffRepos();
        diffRepos.setCurrentTestCaseName(getName());
        server = MondrianServer.createWithRepository(
            new StringRepositoryContentFinder(
                context.getDataSourcesString()),
            XmlaTestContext.CATALOG_LOCATOR);
        handler = new XmlaHandler(
            (XmlaHandler.ConnectionFactory) server,
            "xmla");
View Full Code Here

                propertyList.toString(),
                catalogNameUrls.toString());
        MondrianServer server = cache.get(cacheKey);
        if (server == null) {
            server = MondrianServer.createWithRepository(
                new StringRepositoryContentFinder(
                    getDataSourcesText(
                        connectString, catalogNameUrls)),
                getCatalogLocator());
        }
        if (cache != null) {
View Full Code Here

TOP

Related Classes of mondrian.server.StringRepositoryContentFinder

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.