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