@Target(value=METHOD) @Retention(value=RUNTIME) @Conditional(value=NoBeanOfType.NoBeanOfTypeDefined.class) public @interface NoBeanOfType
Bean
annotated
methods if the method should only provide its bean if a bean of a given type does not exist yet.public abstract Class<?> value
Copyright © 2010–2019. All rights reserved.