org.apache.jetspeed.om.registry.base
Interface LocalRegistry

All Superinterfaces:
Registry
All Known Implementing Classes:
BaseOrderedRegistry, BaseRegistry

public interface LocalRegistry
extends Registry

This interface declares the methods used by the RegistryService to set entries within the registry without impacting the persistant state.

Version:
$Id: LocalRegistry.java,v 1.3 2005/03/21 18:21:37 sgala Exp $
Author:
Raphaël Luta

Method Summary
 void addLocalEntry(RegistryEntry entry)
          This method is used to only add the entry in the local memory cache of the registry without any coherency check with persistent storage
 void removeLocalEntry(RegistryEntry entry)
          This method is used to only remove the entry from the local memory cache of the registry without any coherency check with persistent storage
 void removeLocalEntry(java.lang.String name)
          This method is used to only remove the entry from the local memory cache of the registry without any coherency check with persistent storage
 void setLocalEntry(RegistryEntry entry)
          This method is used to only set the entry in the local memory cache of the registry without any coherency check with persistent storage
 
Methods inherited from interface org.apache.jetspeed.om.registry.Registry
addEntry, createEntry, getEntries, getEntry, getEntryCount, hasEntry, listEntryNames, removeEntry, removeEntry, setEntry, toArray
 

Method Detail

setLocalEntry

public void setLocalEntry(RegistryEntry entry)
                   throws InvalidEntryException
This method is used to only set the entry in the local memory cache of the registry without any coherency check with persistent storage

Parameters:
entry - the RegistryEntry to store
Throws:
InvalidEntryException

addLocalEntry

public void addLocalEntry(RegistryEntry entry)
                   throws InvalidEntryException
This method is used to only add the entry in the local memory cache of the registry without any coherency check with persistent storage

Parameters:
entry - the RegistryEntry to store
Throws:
InvalidEntryException

removeLocalEntry

public void removeLocalEntry(java.lang.String name)
This method is used to only remove the entry from the local memory cache of the registry without any coherency check with persistent storage

Parameters:
name - the name of the RegistryEntry to remove

removeLocalEntry

public void removeLocalEntry(RegistryEntry entry)
This method is used to only remove the entry from the local memory cache of the registry without any coherency check with persistent storage

Parameters:
entry - the RegistryEntry to remove


Copyright © 2000-2005 Apache Software Foundation. All Rights Reserved.