Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

How to Register a Custom Auto-Configuration?

To register an auto-configuration class, we must have its fully qualified name listed under the EnableAutoConfiguration key in the META-INF/spring.factories file:
org.springframework.boot.autoconfigure.EnableAutoConfiguration=com.baeldung.autoconfigure.CustomAutoConfiguration
Source by www.baeldung.com #
 
PREVIOUS NEXT
Tagged: #How #Register #Custom
ADD COMMENT
Topic
Name
5+4 =