Example usage for org.springframework.format FormatterRegistry addConverterFactory

List of usage examples for org.springframework.format FormatterRegistry addConverterFactory

Introduction

In this page you can find the example usage for org.springframework.format FormatterRegistry addConverterFactory.

Prototype

void addConverterFactory(ConverterFactory<?, ?> factory);

Source Link

Document

Add a ranged converter factory to this registry.

Usage

From source file:org.jhk.pulsing.web.config.WebControllerConfig.java

@Override
public void addFormatters(FormatterRegistry registry) {
    super.addFormatters(registry);

    registry.addConverterFactory(new StringToAvroRecordFactory());
}