Annotation Type PrimaryAdapter
-
@Adapter @Retention(CLASS) @Target({PACKAGE,TYPE}) @Documented public @interface PrimaryAdapter
APrimaryAdapterconnects the outside of an application to anPrimaryPortexposed by the application's core. For example, it could be a component accepting HTTP requests or a listener for a message broker.- Since:
- 1.5
- See Also:
- Hexagonal Architecture,
PrimaryPort
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.StringdescriptionA description of thePrimaryAdapter.java.lang.StringnameAn identifier for the name of thePrimaryAdapterto identify and group multiple implementing classes of the samePrimaryAdapter.
-
-
-
Element Detail
-
name
java.lang.String name
An identifier for the name of thePrimaryAdapterto identify and group multiple implementing classes of the samePrimaryAdapter. If not set, external tooling may default this to the simple name of the annotated type or package.- Since:
- 1.8
- Default:
- ""
-
-
-
description
java.lang.String description
A description of thePrimaryAdapter. If not set, external tooling may default this to the JavaDoc.- Since:
- 1.8
- Default:
- ""
-
-