org.apache.jetspeed.deployment.simpleregistry.impl
Class InMemoryRegistryImpl

java.lang.Object
  extended by org.apache.jetspeed.deployment.simpleregistry.impl.InMemoryRegistryImpl
All Implemented Interfaces:
SimpleRegistry

public class InMemoryRegistryImpl
extends Object
implements SimpleRegistry

InMemoryRegistryImpl

Version:
$Id: InMemoryRegistryImpl.java 516881 2007-03-11 10:34:21Z ate $
Author:
Scott T. Weaver

Field Summary
protected  Map registry
           
 
Constructor Summary
InMemoryRegistryImpl()
           
 
Method Summary
protected  void checkArguments(Entry entry)
           
 void deRegister(Entry entry)
          De-registers the entry
 Collection getRegistry()
          Provides a Cloolection of org.apache.jetspeed.cps.simpleregistry.Entry objects that are currently registered to this registery
 boolean isRegistered(Entry entry)
          Verifies whether or not this entry is registered.
 void register(Entry entry)
          Registers the entry.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

registry

protected Map registry
Constructor Detail

InMemoryRegistryImpl

public InMemoryRegistryImpl()
Method Detail

register

public void register(Entry entry)
              throws SimpleRegistryException
Description copied from interface: SimpleRegistry
Registers the entry.

Specified by:
register in interface SimpleRegistry
Throws:
SimpleRegistryException
See Also:
org.apache.jetspeed.cps.simpleregistry.SimpleRegistry#register(org.apache.jetspeed.cps.simpleregistry.Entry)

deRegister

public void deRegister(Entry entry)
Description copied from interface: SimpleRegistry
De-registers the entry

Specified by:
deRegister in interface SimpleRegistry
See Also:
org.apache.jetspeed.cps.simpleregistry.SimpleRegistry#deRegister(org.apache.jetspeed.cps.simpleregistry.Entry)

isRegistered

public boolean isRegistered(Entry entry)
Description copied from interface: SimpleRegistry
Verifies whether or not this entry is registered.

Specified by:
isRegistered in interface SimpleRegistry
Returns:
boolean true is the entry is registered otherwise false.
See Also:
org.apache.jetspeed.cps.simpleregistry.SimpleRegistry#isRegistered(org.apache.jetspeed.cps.simpleregistry.Entry)

getRegistry

public Collection getRegistry()
Description copied from interface: SimpleRegistry
Provides a Cloolection of org.apache.jetspeed.cps.simpleregistry.Entry objects that are currently registered to this registery

Specified by:
getRegistry in interface SimpleRegistry
Returns:
See Also:
org.apache.jetspeed.cps.simpleregistry.SimpleRegistry#getRegistry()

checkArguments

protected void checkArguments(Entry entry)


Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.