Annotation Interface Adapter
@Retention(RUNTIME)
@Target({PACKAGE,TYPE})
@Documented
@Stereotype(priority=300)
public @interface Adapter
Adapters contain technology specific implementations to either drive (see PrimaryPort) or implement
Ports (see SecondaryPort). Adapters must not depend on Application code other than ports.- Since:
- 1.5
- Author:
- Oliver Drotbohm, Stephan Pirnbaum
- See Also:
-
Optional Element Summary
Optional Elements
-
Element Details
-
name
String nameAn identifier for the name of theAdapterto identify and group multiple implementing classes of the sameAdapter. If not set, external tooling may default this to the simple name of the annotated type or package.- Since:
- 1.8
- Default:
- ""
-
description
String descriptionA description of theAdapter. If not set, external tooling may default this to the JavaDoc.- Since:
- 1.8
- Default:
- ""
-