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

cn.gjing.AlitxAutoConfiguration Maven / Gradle / Ivy

The newest version!
package cn.gjing;

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

/**
 * @author Gjing
 **/
@Configuration
public class AlitxAutoConfiguration {

    @Bean
    @ConditionalOnBean(AlitxExceptionHandler.class)
    public AlitxExceptionHandler alitxExceptionHandler() {
        return new AlitxExceptionHandler();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy