public class LightConditionalOnBean
extends java.lang.Object
implements org.springframework.context.annotation.Condition
Similar to Spring-Boot annotation without spring-boot dependencies {link org.springframework.boot.autoconfigure.condition.ConditionalOnBean}
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
beanName |
| Constructor and Description |
|---|
LightConditionalOnBean(java.lang.String beanName) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
matches(org.springframework.context.annotation.ConditionContext conditionContext,
org.springframework.core.type.AnnotatedTypeMetadata annotatedTypeMetadata) |
Copyright © 2022. All Rights Reserved.