|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SimpleRegistry
SimpleRegistry
This is an interface for creating simple registry systems. A good example would be an in memory registry that gets populate at runtime and is lost on shutdown.
Method Summary | |
---|---|
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. |
Method Detail |
---|
void register(Entry entry) throws SimpleRegistryException
entry
-
java.lang.IllegalAgrumentException
- in entry
is null or
entry.getId()
is null
org.apache.jetspeed.cps.simpleregistry
- if this entry
is
already registered.
SimpleRegistryException
void deRegister(Entry entry)
entry
-
java.lang.IllegalAgrumentException
- in entry
is null or
entry.getId()
is nullboolean isRegistered(Entry entry)
entry
-
true
is the entry
is registered
otherwise false
.
java.lang.IllegalAgrumentException
- in entry
is null or
entry.getId()
is nullCollection getRegistry()
org.apache.jetspeed.cps.simpleregistry.Entry
objects that are currently registered to this registery
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |