Annotation Interface PrimaryAdapter
@Adapter
@Retention(RUNTIME)
@Target({PACKAGE,TYPE})
@Documented
@Stereotype(priority=100)
public @interface PrimaryAdapter
A
PrimaryAdapter connects the outside of an application to an PrimaryPort exposed 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
- Author:
- Oliver Drotbohm, Stephan Pirnbaum
- See Also:
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionA description of thePrimaryAdapter.An identifier for the name of thePrimaryAdapterto identify and group multiple implementing classes of the samePrimaryAdapter.
-
Element Details
-
name
String nameAn 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
String descriptionA description of thePrimaryAdapter. If not set, external tooling may default this to the JavaDoc.- Since:
- 1.8
- Default:
- ""
-