Uploaded image for project: 'Causeway'
  1. Causeway
  2. CAUSEWAY-3063

[Programming Model] Support for (Logical Type Name) Aliases

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Resolved
    • None
    • 2.0.0-M8
    • None

    Description

      Goals:

      • Support bookmark resolution to handle alias names. (Introduce `@DomainObject(aliased=...)` and `@DomainService(aliased=...)` annotation attributes)
      • Support for `@Named` annotation on concrete types, abstract types and interfaces.
      • Deprecate annotation `@LogicalTypeName`.
      • Deprecate annotation attribute `@DomainObject(logicalTypeName=...)`.
      • Deprecate annotation attribute `@Value(logicalTypeName=...)`.

      Non Goals:

      • No injection point resolution based on alias names. (Naturally so, because it is based on types not names anyway.)
      • No modification to the Security Model (SecMan): Permissions are checked against primary logical member names, not involving aliases.

      Implications:

      • Must be supported by SpecificationLoader#specForBookmark and Restful DomainObjectResource and its friends.
      • Must also support service lookup based on alias names (ServiceRegistry).

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            hobrom Andi Huber
            hobrom Andi Huber
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment