RequiresVitalCloudNet4Bridge

Convenience-condition to mark a class to only be loaded as a bean, when the vital-cloudnet4-bridge module is used. If not running with the vital-cloudnet4-bridge module, the annotated bean will not be instantiated by Spring.

Must be used in combination with Conditional and any Component stereotype.

@Conditional(RequiresVitalCloudNet4Bridge.class)
@Component
public class MyVitalCloudNet4BridgeBean {
// ...
}

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open override fun matches(context: ConditionContext, metadata: AnnotatedTypeMetadata): Boolean