Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-8383

Remove non-generic methods from the WikiComponent interface

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.3-milestone-1
    • Fix Version/s: 4.3-milestone-2
    • Component/s: Component
    • Labels:
      None
    • Tests:
      Unit
    • Difficulty:
      Unknown
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      The WikiComponent interface allows to implement components with a generic mechanism (XWiki.ComponentClass, XWiki.ComponentMethodClass, etc). It can also be extended to allow Java components to be bound to documents. 3 methods are required by the first use case but not the second one, those methods should be moved to the implementation :

      List<Class< ? >> getImplementedInterfaces();
      Map<String, XDOM> getHandledMethods();
      Map<String, ComponentDescriptor> getDependencies();

        Attachments

          Activity

            People

            • Assignee:
              jvdrean Jean-Vincent Drean
              Reporter:
              jvdrean Jean-Vincent Drean
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: