org.hibersap.conversion
Class ConverterCache
java.lang.Object
org.hibersap.conversion.ConverterCache
- All Implemented Interfaces:
- java.io.Serializable
public class ConverterCache
- extends java.lang.Object
- implements java.io.Serializable
Holds instances of implementations of org.hibersap.conversion.Converter. The instances are
created lazily.
- Author:
- Carsten Erker
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
ConverterCache
public ConverterCache()
getConverter
public Converter getConverter(java.lang.Class<? extends Converter> clazz)
- Called by the framework to get a Converter instance. If not yet in the cache, the instance
will be created lazily.
- Parameters:
clazz
- The Coverter implementation class
- Returns:
- The Converter instance
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2009 Akquinet Tech@Spree GmbH. All Rights Reserved.