|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.databene.commons.converter.ConverterWrapper<S,T>
org.databene.commons.converter.ConverterProxy<S,T>
org.databene.commons.converter.SynchronizedConverterProxy<S,T>
public class SynchronizedConverterProxy<S,T>
Proxy class for (unsafe) Converters
that synchronizes calls to the wrapped converter instance.
Created: 26.02.2010 18:22:36
| Field Summary |
|---|
| Fields inherited from class org.databene.commons.converter.ConverterWrapper |
|---|
realConverter |
| Constructor Summary | |
|---|---|
protected |
SynchronizedConverterProxy(Converter<S,T> realConverter)
|
| Method Summary | |
|---|---|
T |
convert(S sourceValue)
Concerts an object of type S to an object of type T |
| Methods inherited from class org.databene.commons.converter.ConverterProxy |
|---|
getSourceType, getTargetType |
| Methods inherited from class org.databene.commons.converter.ConverterWrapper |
|---|
clone, isParallelizable, isThreadSafe |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.databene.commons.ThreadAware |
|---|
isParallelizable, isThreadSafe |
| Constructor Detail |
|---|
protected SynchronizedConverterProxy(Converter<S,T> realConverter)
| Method Detail |
|---|
public T convert(S sourceValue)
throws ConversionException
Converter
sourceValue - the object to convert
ConversionException - if the conversion fails
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||