Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

how to disable the auto-configuration?

@EnableAutoConfiguration(exclude={DataSourceAutoConfiguration.class}) if the class is on the classpath

@EnableAutoConfiguration(excludeName={Sample.class}) if the class isn't on the classpath
Source by www.edureka.co #
 
PREVIOUS NEXT
Tagged: #disable
ADD COMMENT
Topic
Name
6+4 =