| Adapter |
|
| Application |
An annotation to assign packages and types the role of core application code.
|
| Port |
|
| PrimaryAdapter |
|
| PrimaryPort |
In Hexagonal Architecture an PrimaryPort describes an interface into an application's core that is exposed to
the outside to drive the application.
|
| SecondaryAdapter |
SecondaryAdapters implement SecondaryPort to ultimately link the applications core to some extrenal
technology, like a database, message broker, email server or third-party service.
|
| 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.
|