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()
This method performs the actual
initialization. |
void |
setComposedValueConverter(ComposedValueConverter composedValueConverter) |
createContextcreateLogger, getLoggerdoInitialized, getInitializationState, initializeprivate ComposedValueConverter composedValueConverter
@Inject public void setComposedValueConverter(ComposedValueConverter composedValueConverter)
composedValueConverter - is the composedValueConverter to setprotected void doInitialize()
AbstractComponentinitialization. It is called when AbstractComponent.initialize() is
invoked for the first time. super.AbstractComponent.doInitialize().doInitialize in class AbstractLoggableComponentpublic 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–2016 mmm-Team. All rights reserved.