001 /* 002 // $Id: //open/mondrian/src/main/mondrian/spi/impl/CatalogLocatorImpl.java#4 $ 003 // This software is subject to the terms of the Common Public License 004 // Agreement, available at the following URL: 005 // http://www.opensource.org/licenses/cpl.html. 006 // Copyright (C) 2005-2006 Julian Hyde 007 // All Rights Reserved. 008 // You must accept the terms of that agreement to use this software. 009 */ 010 package mondrian.spi.impl; 011 012 import mondrian.spi.CatalogLocator; 013 014 /** 015 * CatalogLocator which returns the catalog URI unchanged. 016 * 017 * @author jhyde 018 * @version $Id: //open/mondrian/src/main/mondrian/spi/impl/CatalogLocatorImpl.java#4 $ 019 * @since Dec 22, 2005 020 */ 021 public class CatalogLocatorImpl implements CatalogLocator { 022 public static final CatalogLocator INSTANCE = new CatalogLocatorImpl(); 023 024 public String locate(String catalogPath) { 025 return catalogPath; 026 } 027 } 028 029 // End CatalogLocatorImpl.java