Example usage for org.springframework.integration.support.utils IntegrationUtils getConversionService

List of usage examples for org.springframework.integration.support.utils IntegrationUtils getConversionService

Introduction

In this page you can find the example usage for org.springframework.integration.support.utils IntegrationUtils getConversionService.

Prototype

public static ConversionService getConversionService(BeanFactory beanFactory) 

Source Link

Usage

From source file:org.springframework.cloud.iot.integration.coap.support.DefaultCoapHeaderMapper.java

@Override
public void afterPropertiesSet() throws Exception {
    if (this.beanFactory != null) {
        this.conversionService = IntegrationUtils.getConversionService(this.beanFactory);
    }/*  w  w  w .  j  av a2  s.com*/
}