public class GenericContextFactoryImpl extends AbstractGenericContextFactory
GenericContextFactory.| Modifier and Type | Field and Description |
|---|---|
private ComposedValueConverter |
composedValueConverter |
| Constructor and Description |
|---|
GenericContextFactoryImpl()
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
MutableGenericContext |
createContext(MapFactory<? extends Map> mapFactory)
This method creates a new instance of a
MutableGenericContext using the given MapFactory. |
MutableGenericContext |
createContext(MapFactory<? extends Map> mapFactory,
GenericValueConverter<Object> valueConverter)
This method creates a new instance of a
MutableGenericContext using the given MapFactory. |
protected void |
doInitialize() |
void |
setComposedValueConverter(ComposedValueConverter composedValueConverter) |
createContextdoInitialized, getInitializationState, initializeprivate ComposedValueConverter composedValueConverter
@Inject public void setComposedValueConverter(ComposedValueConverter composedValueConverter)
composedValueConverter - is the composedValueConverter to setprotected void doInitialize()
doInitialize in class AbstractComponentpublic MutableGenericContext createContext(MapFactory<? extends Map> mapFactory)
GenericContextFactoryMutableGenericContext using the given MapFactory.mapFactory - is the factory used to create maps for the underlying context.public MutableGenericContext createContext(MapFactory<? extends Map> mapFactory, GenericValueConverter<Object> valueConverter)
GenericContextFactoryMutableGenericContext using the given MapFactory.mapFactory - is the factory used to create maps for the underlying context.valueConverter - is the GenericValueConverter used for
converting variables if
requested for a different type.Copyright © 2001–2019 mmm-Team. All rights reserved.