Annotation Interface SecondaryPort
An
SecondaryPort
describes abstractions that describes interfaces to the outside that are driven by the
application's core, like a repository (to interact with a database) or a message publisher. Usually
SecondaryPort
s are implemented by SecondaryAdapter
s.- Since:
- 1.5
- See Also:
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionA description of theSecondaryPort
.An identifier for the name of theSecondaryPort
to identify and group multiple implementing classes of the sameSecondaryPort
.
-
Element Details
-
name
String nameAn identifier for the name of theSecondaryPort
to identify and group multiple implementing classes of the sameSecondaryPort
. 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 theSecondaryPort
. If not set, external tooling may default this to the JavaDoc.- Since:
- 1.8
- Default:
""
-