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

springboot.ossclient.SpringBootAutoConfiguration Maven / Gradle / Ivy

There is a newer version: 0.0.7
Show newest version
/*
 * @(#)SpringBootAutoConfiguration.java	2021-10-27
 *
 * Copyright (c) 2021. All Rights Reserved.
 *
 */

package springboot.ossclient;

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

import springboot.ossclient.processor.OssClientComponentsProcessor;

/**
 * SpringBootAutoConfiguration
 *
 * @author Gerald Chen
 * @version $Id: SpringBootAutoConfiguration.java 2021-10-27 11:36:58 Exp $
 */
@Configuration
@ComponentScan("com.github.javaclub.ossclient")
public class SpringBootAutoConfiguration {

	@Bean
	@ConditionalOnMissingBean(OssClientComponentsProcessor.class)
	public OssClientComponentsProcessor ossClientComponentsProcessor() {
		return new OssClientComponentsProcessor();
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy