Annotation Interface ServiceConnection


@Retention(RUNTIME) @Target({FIELD,ANNOTATION_TYPE}) public @interface ServiceConnection
Annotation used to indicate that a field provides a service that can be connected to. Typically used to meta-annotate a higher-level annotation.

When used, a ConnectionDetailsFactory must be registered in spring.factories to provide ConnectionDetails for the field value.

Since:
3.1.0
Author:
Moritz Halbritter, Andy Wilkinson, Phillip Webb