|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--com.generationjava.patterns.registry.AbstractRegistry
|
+--com.generationjava.patterns.registry.SimpleRegistry
|
+--com.generationjava.patterns.registry.ClassRegistry
A registry which stores objects by a key Class. When obtaining the object, it will check inheritence and interface trees to see if the Class matches.
| Constructor Summary | |
ClassRegistry()
|
|
| Method Summary | |
java.lang.Object |
get(java.lang.Object key)
Get the object from the registry. |
| Methods inherited from class com.generationjava.patterns.registry.SimpleRegistry |
clear, getMap, keys, register, remove, toString |
| Methods inherited from class com.generationjava.patterns.registry.AbstractRegistry |
getNull, getRegistryFactory, setNull, setRegistryFactory |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public ClassRegistry()
| Method Detail |
public java.lang.Object get(java.lang.Object key)
get in interface Registryget in class SimpleRegistry
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||