Annotation Interface ConditionalOnMissingBinding
@Retention(RUNTIME)
@Target(METHOD)
@Documented
@Conditional(OnMissingBindingCondition.class)
public @interface ConditionalOnMissingBinding
Checks if a binding exists for the return type of the annotated
Factory
method. When no binding exists
for the key corresponding to this return type, then this method will be considered for binding.