Disabiling Auto-Configuration in Spring Boot

Spring Boot is fantastic for rapid enterprise application development. At some point, using and RAD framework, you get to a point where you want to disable some of the auto-configuration features in the application. With Spring Boot, you do this by specifying in an annotation, the configuration you wish to disable. Example:

public class Application implements CommandLineRunner {
…by specifying the RepositoryRestMvcAutoConfiguration class, I can turn off the feature. More documentation here: