|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--com.generationjava.patterns.registry.AbstractRegistryFactory
|
+--com.generationjava.patterns.registry.SingletonRegistryFactory
A factory which always returns the same instance.
| Constructor Summary | |
SingletonRegistryFactory(Registry registry)
|
|
| Method Summary | |
Registry |
getRegistryInstance()
Get a general instance of a registry. |
| Methods inherited from class com.generationjava.patterns.registry.AbstractRegistryFactory |
getRegistryInstance |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SingletonRegistryFactory(Registry registry)
| Method Detail |
public Registry getRegistryInstance()
RegistryFactory
getRegistryInstance in interface RegistryFactorygetRegistryInstance in class AbstractRegistryFactory
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||