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
Post a Comment