Annotation Type Port
-
@Retention(CLASS) @Target({PACKAGE,TYPE}) @Documented public @interface PortAPortdefines an entry point into theApplicationthat 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.Ports are implemented byAdapterusing 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.StringdescriptionA description of thePort.java.lang.Stringname
-
-
-
-
description
java.lang.String description
A description of thePort. If not set, external tooling may default this to the JavaDoc.- Since:
- 1.8
- Default:
- ""
-
-