@Port @Retention(value=CLASS) @Target(value={PACKAGE,TYPE}) @Documented public @interface SecondaryPort
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.SecondaryAdapter| Modifier and Type | Optional Element and Description |
|---|---|
String |
description
A description of the
SecondaryPort. |
String |
name
An identifier for the name of the
SecondaryPort to identify and group multiple implementing classes of the
same SecondaryPort. |
public abstract String name
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.public abstract String description
SecondaryPort. If not set, external tooling may default this to the JavaDoc.Copyright © 2023. All rights reserved.