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

Remove non-generic methods from the WikiComponent interface

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 4.3-milestone-2
    • 4.3-milestone-1
    • Component
    • None
    • Unit
    • Unknown
    • N/A

    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

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

            Dates

              Created:
              Updated:
              Resolved: