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

cn.ocoop.spring.SpringSubConfig Maven / Gradle / Ivy

There is a newer version: 1.0.3
Show newest version
package cn.ocoop.spring;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.ControllerAdvice;
import org.springframework.web.bind.annotation.RestController;

@Configuration
@ComponentScan(basePackages = "${spring.basePackages}",
        excludeFilters = @ComponentScan.Filter(
                value = {
                        Controller.class,
                        RestController.class,
                        ControllerAdvice.class
                }
        )
)
public class SpringSubConfig {
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy