All Classes and Interfaces
Annotation Interfaces
Class
Description
Adapters contain technology specific implementations to either drive (see PrimaryPort) or implement
Ports (see SecondaryPort).An annotation to assign packages and types the role of core application code.
A
Port defines an entry point into the Application that can either drive it (see PrimaryPort)
or be driven by the application (see SecondaryPort).A
PrimaryAdapter connects the outside of an application to an PrimaryPort exposed by the
application's core.In Hexagonal Architecture an
PrimaryPort describes an interface into an application's core that is exposed to
the outside to drive the application.SecondaryAdapters implement SecondaryPort to ultimately link the applications core to some extrenal
technology, like a database, message broker, email server or third-party service.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.