Annotation Type SecondaryAdapter


  • @Adapter
    @Retention(CLASS)
    @Target({PACKAGE,TYPE})
    @Documented
    public @interface SecondaryAdapter
    SecondaryAdapters implement SecondaryPort to ultimately link the applications core to some extrenal technology, like a database, message broker, email server or third-party service.
    See Also:
    SecondaryPort
    • Element Detail

      • name

        java.lang.String name
        An identifier for the name of the SecondaryAdapter to identify and group multiple implementing classes of the same SecondaryAdapter. 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 the SecondaryAdapter. If not set, external tooling may default this to the JavaDoc.
        Since:
        1.8
        Default:
        ""