org.apache.jetspeed.om.registry.base
Class DatabaseRegistry

java.lang.Object
  extended byorg.apache.jetspeed.om.registry.base.BaseRegistry
      extended byorg.apache.jetspeed.om.registry.base.DatabaseRegistry
All Implemented Interfaces:
LocalRegistry, Registry

public class DatabaseRegistry
extends BaseRegistry
implements Registry

Provides base functionality within a Database Registry.

Version:
$Id: DatabaseRegistry.java,v 1.3 2004/02/23 03:08:26 jford Exp $
Author:
David Sean Taylor

Field Summary
 
Fields inherited from class org.apache.jetspeed.om.registry.base.BaseRegistry
DEBUG, entries
 
Constructor Summary
DatabaseRegistry()
           
 
Method Summary
 void addEntry(RegistryEntry entry)
          Add the given entry to the registry with the given name.
 void removeEntry(RegistryEntry entry)
          Removes the given entry from the Registry
 void removeEntry(java.lang.String name)
          Removes the given entry from the Registry
 void setEntry(RegistryEntry entry)
          Set the entry in the registry with the specified name and Entry
 
Methods inherited from class org.apache.jetspeed.om.registry.base.BaseRegistry
addLocalEntry, createEntry, getEntries, getEntry, getEntryCount, hasEntry, listEntryNames, removeLocalEntry, removeLocalEntry, setLocalEntry, toArray
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.jetspeed.om.registry.Registry
createEntry, getEntries, getEntry, getEntryCount, hasEntry, listEntryNames, toArray
 

Constructor Detail

DatabaseRegistry

public DatabaseRegistry()
Method Detail

setEntry

public void setEntry(RegistryEntry entry)
              throws InvalidEntryException
Description copied from interface: Registry
Set the entry in the registry with the specified name and Entry

Specified by:
setEntry in interface Registry
Overrides:
setEntry in class BaseRegistry
Throws:
InvalidEntryException
See Also:
Registry.setEntry(org.apache.jetspeed.om.registry.RegistryEntry)

addEntry

public void addEntry(RegistryEntry entry)
              throws InvalidEntryException
Description copied from interface: Registry
Add the given entry to the registry with the given name.

Specified by:
addEntry in interface Registry
Overrides:
addEntry in class BaseRegistry
Throws:
InvalidEntryException
See Also:
Registry.addEntry(org.apache.jetspeed.om.registry.RegistryEntry)

removeEntry

public void removeEntry(java.lang.String name)
Description copied from interface: Registry
Removes the given entry from the Registry

Specified by:
removeEntry in interface Registry
Overrides:
removeEntry in class BaseRegistry
See Also:
Registry.removeEntry(org.apache.jetspeed.om.registry.RegistryEntry)

removeEntry

public void removeEntry(RegistryEntry entry)
Description copied from interface: Registry
Removes the given entry from the Registry

Specified by:
removeEntry in interface Registry
Overrides:
removeEntry in class BaseRegistry
See Also:
Registry.removeEntry(org.apache.jetspeed.om.registry.RegistryEntry)


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