Uploaded image for project: 'Jackrabbit Content Repository'
  1. Jackrabbit Content Repository
  2. JCR-1759

Simplify the usage of OCM annotations

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

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.5
    • 1.5
    • jackrabbit-ocm
    • None

    Description

      If we are using more reflections during the OCM init phase (class descriptor loading), some OCM annotation settings are not necessary :

      @Node(isAbtract=true) : used to specify an abstract classes
      @Node(extend=....) : used to specify the ancestor class
      @Node(isInterface= ...) : used to specify the entity as an interface
      @implement : used to specify the associated interfaces

      If this refactoring is done, we can set them as deprecated.

      The performances will not suffer because this is done only once during the application startup (when the ObjectContentManager is initialized).

      Attachments

        Activity

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

          People

            clombart Christophe Lombart
            clombart Christophe Lombart
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment