Annotation Type Port
-
@Retention(CLASS) @Target({PACKAGE,TYPE}) @Documented public @interface Port
APort
defines an entry point into theApplication
that can either drive it (seePrimaryPort
) or be driven by the application (seeSecondaryPort
). They are the interface with which the application interacts with the outside world.Port
s are implemented byAdapter
using particular integration technology.- Since:
- 1.5
- See Also:
- Hexagonal Architecture,
Adapter
,Application
,PrimaryPort
,SecondaryPort
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.String
description
A description of thePort
.java.lang.String
name
-
-
-
-
description
java.lang.String description
A description of thePort
. If not set, external tooling may default this to the JavaDoc.- Since:
- 1.8
- Default:
- ""
-
-