spring boot - How Springboot @Conditional work with @Enablexxxxx -


here code :

//controller @restcontroller @conditionalonbean(enablexxx.class) public class api {  }   //enablexxx @documented @target({elementtype.type}) @retention(retentionpolicy.runtime) @enablebinding(pluginregistersource.class) @configuration @import({someclass.class}) public @interface enablexxx {  } 

i hope api mapping , visited @enablexxx on application. didn't work.


Comments

Popular posts from this blog

sql - Time in datatime field -

javascript - How to split the success output from an Ajax post? -

java - sharing object across different classes -