@ComponentSpecification public interface ComposedValueConverterFactory
ComposedValueConverter
instances. In case
ComposedValueConverter
is used for different purposes there might be contradicting requirements. To prevent
undesired side-effects from one purpose of usage to the next you can create
custom instances.Modifier and Type | Method and Description |
---|---|
ComposedValueConverter |
createConverter(boolean addDefaultConverters,
List<ValueConverter<?,?>> converterList)
Creates a new custom instance of
ComposedValueConverter with the given configuration. |
ComposedValueConverter |
getDefaultConverter() |
ComposedValueConverter getDefaultConverter()
ComposedValueConverter
as it would be directly injected
.ComposedValueConverter createConverter(boolean addDefaultConverters, List<ValueConverter<?,?>> converterList)
ComposedValueConverter
with the given configuration.addDefaultConverters
- - true
if all ValueConverter
s of the default converter
(technically all those registered via Cdi
) should
be added to the new requested ComposedValueConverter
, false
otherwise (if only the given
converters should be added).converterList
- is the List
of the ValueConverter
s to add (register as plugin) to the new
requested ComposedValueConverter
.ComposedValueConverter
instance with the specified configuration.Copyright © 2001–2016 mmm-Team. All rights reserved.