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

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -