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

fun.bigtable.kraken.dict.config.DictConfig Maven / Gradle / Ivy

There is a newer version: 2.0.9.1
Show newest version
package fun.bigtable.kraken.dict.config;

import fun.bigtable.kraken.dict.DefaultDictRepository;
import fun.bigtable.kraken.dict.DictRepository;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

@Configuration
public class DictConfig {

    @Bean
    @ConditionalOnMissingBean(DictRepository.class)
    public DefaultDictRepository defaultDictRepository(){
        return new DefaultDictRepository();
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy