Annotation Type SecondaryPort


@Port @Retention(CLASS) @Target({PACKAGE,TYPE}) @Documented 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
See Also:
  • Element Details

    • name

      String name
      An identifier for the name of the SecondaryPort to identify and group multiple implementing classes of the same SecondaryPort. If not set, external tooling may default this to the simple name of the annotated type or package.
      Since:
      1.8
      Default:
      ""
    • description

      String description
      A description of the SecondaryPort. If not set, external tooling may default this to the JavaDoc.
      Since:
      1.8
      Default:
      ""