| Modifier and Type | Class and Description |
|---|---|
interface |
PrimaryPort
In Hexagonal Architecture an
PrimaryPort describes an interface into an application's core that is exposed to
the outside to drive the application. |
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. |
Copyright © 2023. All rights reserved.