org.realityforge.converter.lib
Class SingletonConverterFactory
java.lang.Object
|
+--org.realityforge.converter.lib.SingletonConverterFactory
- All Implemented Interfaces:
- ConverterFactory
- public class SingletonConverterFactory
- extends Object
- implements ConverterFactory
A converter factory that just returns value supplied in ctor.
- Version:
- $Revision: 1.1 $ $Date: 2003/04/04 11:26:44 $
- Author:
- Peter Donald
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SingletonConverterFactory
public SingletonConverterFactory(Converter converter)
- Create factory with specified converter as singleton returned.
- Parameters:
converter
- the converter
createConverter
public Converter createConverter()
- Return the singleton converter.
- Specified by:
createConverter
in interface ConverterFactory
- Returns:
- the singleton converter.
Copyright © 2000-2003 The Spice Group. All Rights Reserved.