com.generationjava.patterns.registry
Class NullRegistryFactory

java.lang.Object
  |
  +--com.generationjava.patterns.registry.AbstractRegistryFactory
        |
        +--com.generationjava.patterns.registry.NullRegistryFactory
All Implemented Interfaces:
Null, RegistryFactory

public class NullRegistryFactory
extends AbstractRegistryFactory
implements Null

A RegistryFactory with null functionality.


Field Summary
static RegistryFactory NULL_REGISTRY_FACTORY
          Singleton instance of a NullRegistryFactory.
 
Method Summary
 Registry getRegistryInstance()
          Returns null.
 
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
 

Field Detail

NULL_REGISTRY_FACTORY

public static RegistryFactory NULL_REGISTRY_FACTORY
Singleton instance of a NullRegistryFactory.

Method Detail

getRegistryInstance

public Registry getRegistryInstance()
Returns null.

Specified by:
getRegistryInstance in interface RegistryFactory
Specified by:
getRegistryInstance in class AbstractRegistryFactory


Copyright © 2000-2003 GenerationJava. All Rights Reserved.