package com.knecon.fforesight.service.layoutparser.processor;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

import com.knecon.fforesight.service.viewerdoc.service.ViewerDocumentService;

import io.micrometer.observation.ObservationRegistry;

@Configuration
@ComponentScan
public class LayoutParsingServiceProcessorConfiguration {


    @Bean
    @Autowired
    public ViewerDocumentService viewerDocumentService(ObservationRegistry registry) {

        return new ViewerDocumentService(registry);
    }

}
