All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.itelg.spring.xom.unmarshaller.configuration.SpringXomUnmarshallerConfiguration Maven / Gradle / Ivy

There is a newer version: 1.4.0
Show newest version
package com.itelg.spring.xom.unmarshaller.configuration;

import java.util.List;

import org.springframework.boot.autoconfigure.condition.ConditionalOnBean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import com.itelg.spring.xom.unmarshaller.XomUnmarshaller;
import com.itelg.spring.xom.unmarshaller.parser.Parser;

@Configuration
public class SpringXomUnmarshallerConfiguration
{
    @Bean
    @ConditionalOnMissingBean
    @ConditionalOnBean(Parser.class)
    public XomUnmarshaller xomUnmarshaller(List> parsers)
    {
        return new XomUnmarshaller(parsers);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy