1 /***************************************************************************2 * Copyright 2001-2003 The eXo Platform SARL All rights reserved. *3 * Please look at license.txt in info directory for more license detail. *4 **************************************************************************/5 package org.exoplatform.services.cache.impl;6 7 import java.util.Collection ;8 import org.exoplatform.services.cache.CacheService;9 import org.exoplatform.services.cache.ExoCache;10 11 /**12 * Created by The eXo Platform SARL .13 * Author : Tuan Nguyen14 * tuan08@users.sourceforge.net15 * Sat, Sep 13, 2003 @ 16 * Time: 1:12:22 PM17 */18 public class MockCacheService implements CacheService {19 20 private MockExoCache mockCache_ ;21 22 public MockCacheService() {23 mockCache_ = new MockExoCache();24 }25 26 public ExoCache getCacheInstance(String region) throws Exception {27 return mockCache_ ;28 }29 30 public Collection getAllCacheInstances() throws Exception {31 return null ;32 }33 }34 35