|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--com.generationjava.patterns.registry.AbstractRegistry
Provides abstract functionality for a Registry class. Handles the RegistryFactory of the Registry.
| Constructor Summary | |
AbstractRegistry()
|
|
| Method Summary | |
Null |
getNull()
Get the null value which will be returned when a key is requested and is not in the registry. |
RegistryFactory |
getRegistryFactory()
Get the factory which will create instances of the Registry. |
void |
setNull(Null value)
Set the null value which will be returned when a key is requested and is not in the registry. |
void |
setRegistryFactory(RegistryFactory factory)
Set the factory which will create instances of the Registry. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.generationjava.patterns.registry.Registry |
clear, get, keys, register, remove |
| Constructor Detail |
public AbstractRegistry()
| Method Detail |
public void setRegistryFactory(RegistryFactory factory)
Registry
setRegistryFactory in interface Registrypublic RegistryFactory getRegistryFactory()
Registry
getRegistryFactory in interface Registrypublic void setNull(Null value)
Registry
setNull in interface Registrypublic Null getNull()
Registry
getNull in interface Registry
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||