Annotation Interface SecondaryPort
@Port
@Retention(RUNTIME)
@Target({PACKAGE,TYPE})
@Documented
@Stereotype(priority=200,
inherited=false)
public @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
SecondaryPorts are implemented by SecondaryAdapters.- Since:
- 1.5
- Author:
- Oliver Drotbohm, Stephan Pirnbaum
- See Also:
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionA description of theSecondaryPort.An identifier for the name of theSecondaryPortto identify and group multiple implementing classes of the sameSecondaryPort.
-
Element Details
-
name
String nameAn identifier for the name of theSecondaryPortto 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:
- ""
-