Conditions comment

Spring @Conditional annotation is provided, becomes the condition annotations, by definition, different Bean loaded into the container depending on the condition, the condition is written in an interface class, the process returns to the condition where the value of the type of prime, true of when this condition is satisfied by this method can be used to annotate or class, condition interfaces are defined in the matches method, we need to write a class that implements this interface condition, rewrite matches the methods, plus @Condition on method or class annotation

Guess you like

Origin www.cnblogs.com/zzxzxn/p/11819846.html