1/*2 * Copyright 2000-2001,2004 The Apache Software Foundation.3 * 4 * Licensed under the Apache License, Version 2.0 (the "License");5 * you may not use this file except in compliance with the License.6 * You may obtain a copy of the License at7 * 8 * http://www.apache.org/licenses/LICENSE-2.09 * 10 * Unless required by applicable law or agreed to in writing, software11 * distributed under the License is distributed on an "AS IS" BASIS,12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.13 * See the License for the specific language governing permissions and14 * limitations under the License.15 */1617packageorg.apache.jetspeed.om.registry.base;
1819import org.apache.jetspeed.om.registry.Registry;
20import org.apache.jetspeed.om.registry.RegistryEntry;
21import org.apache.jetspeed.om.registry.InvalidEntryException;
2223/***24 * This interface declares the methods used by the RegistryService to25 * set entries within the registry without impacting the persistant state.26 *27 * @author <a href="mailto:raphael@apache.org">Raphaël Luta</a>28 * @version $Id: LocalRegistry.java,v 1.2 2004/02/23 03:08:26 jford Exp $29 */30publicinterfaceLocalRegistryextendsRegistry31 {
32/***33 * This method is used to only set the entry in the local34 * memory cache of the registry without any coherency check with35 * persistent storage36 *37 * @param entry the RegistryEntry to store38 */39publicvoid setLocalEntry( RegistryEntry entry ) throws InvalidEntryException;
4041/***42 * This method is used to only add the entry in the local43 * memory cache of the registry without any coherency check with44 * persistent storage45 *46 * @param entry the RegistryEntry to store47 */48publicvoid addLocalEntry( RegistryEntry entry ) throws InvalidEntryException;
4950/***51 * This method is used to only remove the entry from the local52 * memory cache of the registry without any coherency check with53 * persistent storage54 *55 * @param name the name of the RegistryEntry to remove56 */57publicvoid removeLocalEntry( String name );
5859/***60 * This method is used to only remove the entry from the local61 * memory cache of the registry without any coherency check with62 * persistent storage63 *64 * @param entry the RegistryEntry to remove65 */66publicvoid removeLocalEntry( RegistryEntry entry );
6768 }