addBeans

open fun addBeans(registry: FormatterRegistry, beanFactory: ListableBeanFactory)

Add Printer, Parser, Formatter, Converter, ConverterFactory, GenericConverter, and beans from the specified bean factory.

Since

2.2.0

Parameters

registry

the service to register beans with

beanFactory

the bean factory to get the beans from


open fun addBeans(registry: FormatterRegistry, beanFactory: ListableBeanFactory, qualifier: String): Map<String, Any>

Add Printer, Parser, Formatter, Converter, ConverterFactory, GenericConverter, and beans from the specified bean factory.

Return

the beans that were added

Since

3.5.0

Parameters

registry

the service to register beans with

beanFactory

the bean factory to get the beans from

qualifier

the qualifier required on the beans or null