Annotation Interface Port
@Retention(RUNTIME)
@Target({PACKAGE,TYPE})
@Documented
@Stereotype(priority=300,
inherited=false)
public @interface Port
A
Port defines an entry point into the Application that can either drive it (see PrimaryPort)
or be driven by the application (see SecondaryPort). They are the interface with which the application
interacts with the outside world. Ports are implemented by Adapter using particular integration
technology.- Since:
- 1.5
- Author:
- Oliver Drotbohm, Stephan Pirnbaum
- See Also:
-
Optional Element Summary
Optional Elements
-
Element Details
-
name
String nameAn identifier for the name of thePortto identify and group multiple implementing classes of the samePort. If not set, external tooling may default this to the simple name of the annotated type or package.- Since:
- 1.8
- Default:
- ""
-
description
String descriptionA description of thePort. If not set, external tooling may default this to the JavaDoc.- Since:
- 1.8
- Default:
- ""
-