Annotation Type InfrastructureLayer


  • @Retention(CLASS)
    @Target({PACKAGE,TYPE})
    @Documented
    public @interface InfrastructureLayer
    Identifies the InfrastructureLayer in a layered architecture. The infrastructure layer supports the other layers by providing technical capabilities such as persistence or message sending. Furthermore, it may also support the other layers in their interactions by providing framework functionalities.

    Provided infrastructure functionality is layer specific, i.e. functionality provided for the InterfaceLayer (for example REST) must not be accessed by below layers.

    See Also:
    Domain-Driven Design Reference (Evans) - Layered Architecture