Package ch.tocco.nice2.conversion.impl
Class ConverterEngineFactoryImpl
java.lang.Object
ch.tocco.nice2.conversion.impl.ConverterEngineFactoryImpl
- All Implemented Interfaces:
ConverterEngineFactory
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<T extends ConverterConfig>
ConverterEngine<T> getEngineForName
(String name, Class<T> configClass) void
setConverterEngines
(List<ConverterEngine> engines)
-
Constructor Details
-
ConverterEngineFactoryImpl
public ConverterEngineFactoryImpl()
-
-
Method Details
-
getEngineForName
public <T extends ConverterConfig> ConverterEngine<T> getEngineForName(String name, Class<T> configClass) - Specified by:
getEngineForName
in interfaceConverterEngineFactory
- Parameters:
name
- name of the converterconfigClass
- the expected class of the converter config- Returns:
- the requested converter engine
-
setConverterEngines
-